Message synchronization system
Addresses data integrity and efficiency issues with multi-core processor units by managing message exchanges in hybrid integrity mode between processor units and external nodes, checking for redundant computational outputs, and utilizing synchronizers to reduce skew. Efficient data processing and consistency are achieved.
Patent Information
- Application Number
- CN201811317223.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-11-21
- Filing Date
- 2018-11-07
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2038-11-07
AI Technical Summary
When existing processor units achieve data integrity, it is difficult to effectively utilize the characteristics of multi-core processors, resulting in low efficiency, especially undesirable skew problems during redundant data processing and correction.
The integrity manager with mixed integrity mode ensures processing by managing the exchange of messages between processor units and external nodes, checking the matching of redundant calculation outputs, and utilizing internal synchronizers to reduce the amount of undesired skew. Timing consistency of the processor unit operating in high integrity mode.
It improves the data processing efficiency of the processor unit in a multi-core environment, ensures the matching and consistency of redundant data, reduces unexpected skew, and improves the overall performance of the system.
Smart Images

Figure HDA0001856611270000011 
Figure HDA0001856611270000021 
Figure HDA0001856611270000031
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to improved computer systems and, in particular, to methods and apparatus for managing data flow for processor units in a computer system. Background Art
[0002] Aircraft have many redundant components to increase the reliability, integrity, or reliability and integrity of various aircraft systems. For example, components may be duplicated to increase the reliability of a system, to increase the integrity of a system, or to increase both the reliability and integrity of a system. The redundancy may be in the form of duplicated systems to improve system performance. For example, in addition to hardware redundancy, computer systems in aircraft may also include information redundancy. Inaccuracies in information may occur through a variety of sources, such as software problems, radiation, or other sources.
[0003] Information integrity can be achieved using error detection and correction processes running on computers in the aircraft. Integrity can also include redundancy. With redundancy, multiple copies of data can be obtained by performing the same operation multiple times or running the same application on different computers or processor units. These data copies can be checked to determine whether the copies match each other.
[0004] Some solutions rely on the receiver to compare redundant copies of data, while other solutions create integrity at the source of the data. For the latter, current solutions place single-core processor units in two or more parallel lanes. Data bus lockstep checks are performed on messages generated by these processor units. These types of processing are performed using external chips, modifications to the processor architecture, or some combination thereof. These types of solutions are customized for specific types of processors. As a result, when other types of processors are used, these solutions may not be able to take good advantage of the characteristics of those processors, such as memory bus architecture, available comparison points, or other characteristics.
[0005] Therefore, it is desirable to have a method and apparatus that takes into account at least some of the above-mentioned problems and other possible problems. For example, it is desirable to have a method and apparatus that overcomes the technical problems of achieving data integrity when using a processor unit with a single core or using multiple cores, while obtaining the desired efficiency of using the processor unit for processing data. Summary of the invention
[0006] One embodiment of the present disclosure provides a message management system, which includes an integrity manager. The integrity manager is configured to manage the exchange of transfer messages between a processor unit and an external node based on a selected mode in a hybrid integrity mode. The integrity manager is located in hardware that communicates with the processor unit and the external node, and checks whether the outputs of redundant calculations from the processor unit match in a high integrity mode.
[0007] Another embodiment of the present disclosure provides a method for managing data transfer of multiple processors. In an integrity manager located in hardware that communicates with a processor unit and an external node, transfer messages exchanged between the processor unit and the external node are received. Based on a selected mode in a hybrid integrity mode, the exchange of transfer messages performed by the processor unit and the external node is managed so that outputs of redundant calculations from the processor unit match in a high integrity mode.
[0008] The features and functions can be achieved independently in various embodiments of the present disclosure or may be combined in yet other embodiments in which further details can be seen with reference to the following description and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The novel features which are believed to be characteristic of the illustrative embodiments are set forth in the appended claims. However, the illustrative embodiments together with the preferred mode of use, further objects and features thereof will be best understood by reference to the following detailed description of illustrative embodiments of the present disclosure when read in conjunction with the accompanying drawings, in which:
[0010] Figure 1 is an illustration of a block diagram of a data processing environment according to one illustrative embodiment;
[0011] Figure 2 is a diagram of a hybrid integrity data processing system according to one illustrative embodiment;
[0012] Figure 3 is an illustration of a flow chart of a process for managing data transfers for multiple processors according to one illustrative embodiment;
[0013] Figure 4 is an illustration of a flow chart of a process for synchronizing processors according to one illustrative embodiment;
[0014] Figure 5 is an illustration of a flow chart of a process for synchronizing processor units according to one illustrative embodiment;
[0015] Figure 6 is an illustration of a flow chart of a process for synchronizing processor units according to one illustrative embodiment;
[0016] Figure 7 is an illustration of a flow chart of a process for synchronizing the sending of messages from a processor unit according to one illustrative embodiment;
[0017] Figure 8 is an illustration of a flow chart of a process for sending a message according to one illustrative embodiment;
[0018] Fig. 9 is an illustration of a flow chart of a process for sending a message according to one illustrative embodiment;
[0019] Fig.10 is an illustration of a flow chart of a process for receiving a message according to one illustrative embodiment;
[0020] Fig.11 is an illustration of a flow chart of a process for receiving a message according to one illustrative embodiment;
[0021] Fig.12 is an illustration of a flow chart of a process for receiving a message according to one illustrative embodiment;
[0022] Fig.13 is an illustration of a flow chart of a process for receiving a message according to one illustrative embodiment;
[0023] Fig.14 is an illustration of a block diagram of a data processing system according to one illustrative embodiment;
[0024] Fig.15 is an illustration of a block diagram of an aircraft manufacturing and service method according to an illustrative embodiment; and
[0025] Fig.16 is an illustration of a block diagram of an aircraft in which an illustrative embodiment may be implemented. DETAILED DESCRIPTION
[0026] The illustrative embodiments recognize and take into account one or more different considerations. For example, the illustrative embodiments recognize and take into account that it is desirable to increase the integrity of data output when using any pair or group of processor units running one or more redundant applications. The illustrative embodiments recognize and take into account that an operating mode for increasing data integrity compared to normal data processing is a high integrity operating mode, which is referred to as a standard integrity operating mode.
[0027] Therefore, the illustrative embodiments provide a method, apparatus, and system for managing data. In one illustrative example, a message management system includes an integrity manager. The integrity manager has a hybrid integrity mode and is configured to manage message exchanges between a processor unit and an external node based on a selected mode in the hybrid integrity mode. The integrity manager is located in hardware that communicates with the processor and the external node, and checks whether outputs of redundant calculations from the processor unit match in a high integrity mode.
[0028] In another illustrative example, a processor synchronization system includes an internal synchronizer operating on a first processor unit. The internal synchronizer is configured to communicate with an external synchronizer to determine whether an undesirable amount of skew exists between the first processor unit and a second processor unit in communication with the external synchronizer. The internal synchronizer is configured to selectively instruct the first processor unit to perform an action without generating a desired result, such that when the undesirable skew exists, the amount of skew between the first processor unit and the second processor unit is reduced.
[0029] Referring now to the drawings, and in particular to Figure 1 , depicts an illustration of a block diagram of a data processing environment in accordance with one illustrative embodiment. Data processing environment 100 is an environment that may manage processor unit 102 in hybrid integrity mode 104. In this example, processor unit 102 is selected from at least one of a multi-core processor unit, a single-core processor unit, a homogeneous multi-core processor unit, a heterogeneous multi-core processor unit, a graphics processor unit, a general purpose processor unit, or some other suitable type of processor unit.
[0030] In this illustrative example, processor units 102 may be the same type of processor units or different types of processor units. When processor units 102 are the same type of processor units, those processor units may have at least one of the same instruction set, design, model, part number, or other parameters for defining the type of processor unit 102.
[0031] In this illustrative example, mixed integrity mode 104 includes high integrity mode 106 and standard integrity mode 108. At least one of message comparison or message synchronization between channels of processor unit 102 is performed in high integrity mode 106. In this illustrative example, the channels are processing units.
[0032] When in high integrity mode 106, integrity manager 120 checks whether the outputs of redundant computations from multiple processor units in processor unit 102 match. In this illustrative example, matching means that the data sent from multiple processor units is the same. Integrity manager 120 checks to ensure that the same data is sent from multiple processor units.
[0033] For example, two processor units operating in high integrity mode 106 may run the same application and be directed to perform the same function or data processing. In high integrity mode 106, integrity manager 120 checks to ensure that output generated by two processor units in processor unit 102 are identical.
[0034] As depicted, processor unit 102 is located in computer system 110. As depicted, computer system 110 is a physical hardware system and includes one or more data processing systems. When there are more than one data processing systems, the processor unit may be located in a single data processing system or in more than one data processing system. In addition, when there are more than one data processing system, those data processing systems communicate with each other using a communication medium. The communication medium may be a network. The data processing system may be selected from at least one of a computer, a server computer, a tablet computer, or some other suitable data processing system.
[0035] In this illustrative example, data manager 112 manages at least one of processing data 114 or exchanging data 114 in processor unit 102. As used herein, when used with a list of items, the phrase "at least one" means that different combinations of one or more of the listed items can be used, and only one of each item in the list may be required. In other words, "at least one" means that any combination of items and numbers of items can be used from the list, but not all items in the list are required. The item may be a specific object, thing, or category.
[0036] For example, but not limited to, "at least one of item A, item B, or item C" may include: item A, item A and item B, or item B. This example may also include: item A, item B, and item C, or item B and item C. Of course, there may be any combination of these items. In some illustrative examples, "at least one" may be, for example, but not limited to, two items A; one item B; and ten items C; four items B and seven items C; or other suitable combinations.
[0037] As depicted, data manager 112 is located in computer system 110. Data manager 112 may be located in the same or a different data processing system from processor unit 102 in computer system 110.
[0038] As depicted, data manager 112 manages processing data 114 by processor unit 102. For example, when processor unit 102 operates in high integrity mode 106, data manager 112 can align the timing of processor unit 102 to process data 114. This alignment in timing can cause processor unit 102 to process data 114 to simultaneously process data 114 in a synchronized manner. In other words, processor unit 102 runs the same application to process data 114 to generate results at substantially the same time. These results can be generated by two or more processor units 102, where the results can be compared to determine the integrity of the results generated from processing data 114.
[0039] As depicted, two or more of the processor units 102 may operate in high integrity mode 106, while other processor units in the processor units 102 may operate in standard integrity mode 108. In other words, data processor 112 may simultaneously manage processing and data having different modes in mixed integrity mode 104. Mixed integrity mode 104 means that some of the processor units 102 may operate in high integrity mode 106, while other processor units in the processor units 102 may operate in standard integrity mode 108. Mixed integrity mode 104 also means that all of the processor units in the processor unit 102 are capable of operating in either high integrity mode 106 or standard integrity mode 108.
[0040] In other illustrative examples, data manager 112 may manage exchanging data 114 with external nodes 116. When operating in high integrity mode 106, data manager 112 may be capable of aligning timing of receiving or transmitting at least one of transfer messages 118 containing data 114. For example, data manager 112 may be capable of managing receiving messages by two or more of processor units 102 such that the processor units 102 receive identical ones of transfer messages 118 substantially simultaneously, in substantially the same order, or some combination thereof.
[0041] These or other functions may be performed using a number of different functions within at least one of the data managers 112 of the processor unit 102. For example, the functions may be performed using at least one of one or more of the integrity manager 120 in the data manager 112, the external synchronizer 122 in the data manager 112, or the internal synchronizer 124 in the processor unit 102.
[0042] In one illustrative example, integrity manager 120 may be used to provide message management system 125. In this illustrative example, integrity manager 120 has hybrid integrity mode 104. As depicted, integrity manager 120 is configured to manage the exchange of transfer messages 118 between processor unit 102 and external node 116 based on a selected mode 128 in hybrid integrity mode 104. In this illustrative example, integrity manager 120 is located in hardware that communicates with processor unit 102 and external node 116.
[0043] As depicted, external node 116 is located external to computer system 110. In other examples, external node 116 can be located internal to computer system 110. External node 116 can take a variety of different forms. For example, external node 116 can be selected from the group consisting of an external processor in communication with processor unit 102, an embedded computer, a desktop computer, a network device, a network switch, and some other suitable type of external device.
[0044] In one illustrative example, a first portion of processor unit 102 operates at high integrity and a second portion of processor unit 102 operates at standard integrity. Integrity manager 120 is configured to manage transfer messages 118 for the first portion of processor unit 102 in high integrity mode 106 as the selected mode 128 and to manage transfer messages 118 for the second portion of processor unit 102 in standard integrity mode 108 as the selected mode 128. Transfer messages 118 are messages that may be sent to or from processor unit 102.
[0045] As depicted, integrity manager 120 is configured to manage processor unit 102 operating simultaneously in high integrity mode 106 and standard integrity mode 108. This type of operation can support mixed integrity mode 104, where processor unit 102 operates in at least one of high integrity mode 106 or standard integrity mode 108. In other words, processor unit 102 can operate in either or both of these modes simultaneously.
[0046] In this illustrative example, integrity manager 120 is configured to at least one of synchronize processor unit 102 receiving transfer messages 118 or processor unit 102 transmitting transfer messages 118 when selected mode 128 in mixed integrity mode 104 is high integrity mode 106 .
[0047] For example, integrity manager 120 is configured to place external messages 140 received in transfer messages 118 from external node 116 in first queue 142 for first processor unit 132 and place a copy 144 of external messages 140 in second queue 146 for second processor unit 134 when first processor unit 132 and second processor unit 134 use high integrity operation. Integrity manager 120 controls first queue 142 and second queue 146 so that first processor unit 132 reads from first queue 142 and second processor unit 134 reads from second queue 146 to the same depth so that there is parallel channel coherency. In the illustrative example, the depth is the amount of messages in the queue.
[0048] In this illustrative example, in addition to managing the queues, integrity manager 120 compares received message 150 received from first processor unit 132 with corresponding message 152 in corresponding messages 154 received from second processor unit 134. When received message 150 and corresponding message 152 match, integrity manager 120 sends received message 150 to external node 116.
[0049] The comparison performed by integrity manager 120 may be performed in a number of different ways. For example, the comparison may be performed using at least one of a bit-by-bit comparison or a cyclic redundancy check. In this example, if there is no match between received message 150 and corresponding message 152, or if corresponding message 152 is not received within a selected time period indicating that an undesirable amount of skew exists, integrity manager 120 discards received message 150. In this example, when there is a match, corresponding message 152 is discarded.
[0050] In addition, each of the processor units 102 may truncate data values before sending a message to the integrity manager 120 to reduce the accuracy of the value when the integrity manager 120 compares the message using a bit-by-bit comparison (which is an exact check). For example, if the value in the message is 64 bits, all 64 bits are checked if truncation is not used. In some cases, when processing data using a bit-by-bit comparison, undesirable results may occur between processor units 102 operating in different lanes. Therefore, the processor unit 102 may truncate one or more bits to reduce the level of accuracy. Therefore, when the processor unit 102 is in the high integrity mode 106, variable levels of accuracy may be achieved by the processor unit 102 truncating bits.
[0051] In another illustrative example, a processor synchronization system 127 may be provided using an internal synchronizer 124 that communicates with an external synchronizer 122. As depicted, an internal synchronizer 130 in the internal synchronizer 124 operates on a first processor unit 132 in the processor unit 102. The internal synchronizer 130 is configured to communicate with the external synchronizer 122 in the data manager 112 to determine whether an undesirable amount of skew 136 exists between the first processor unit 132 and the second processor unit 134 that communicate with the external synchronizer 122. In this illustrative example, skew is a difference in time when a signal is received from two or more processor units. Skew may be caused by clock skew between the processor units and other factors.
[0052] Internal synchronizer 130 is configured to selectively instruct first processor unit 132 to perform action 138 without generating a desired result such that the amount of skew 136 between first processor unit 132 and second processor unit 134 is reduced when an undesirable amount of skew 136 exists.
[0053] In one illustrative example of reducing skew 136 to align timing in processing of processor unit 102, action 138 removes pre-scheduled idle time 166 from first processor unit 132, which reduces the amount of skew 136 between first processor unit 132 and second processor unit 134. Removing pre-scheduled idle time from the lagging processor unit causes the processor unit to jump forward in time in processing instructions. If an undesirable amount of skew 136 still exists between first processor unit 132 and second processor unit 134 after removing pre-scheduled idle time 166, internal synchronizer 130 is configured to remove additional pre-scheduled idle time 168.
[0054] In yet another illustrative example, the first processor unit 132 is a leading processor unit and the second processor unit 134 is a lagging processor unit, and the action causes the first processor unit 132 to increase the idle time to idle the first processor unit 132 so that the lagging processor unit, the second processor unit 134 can have aligned timing. In this way, the timing of the two processor units can be aligned for synchronous processing.
[0055] As depicted, first processor unit 132 and second processor unit 134 are associated with each other for high integrity mode 106 , wherein integrity checks are performed on respective messages 154 of transfer messages 118 generated by first processor unit 132 and second processor unit 134 .
[0056] The external synchronizer 122 can store information about the amount of skew 136 between the first processor unit 132 and the second processor unit 134. The information can be stored in a register 156 in the external synchronizer 122 or other storage mechanism. For example, the message can be a flag or a set of bits set in the register 156. As used herein, a "set", when used with reference to an item, means one or more items. For example, a "set of bits" is one or more bits.
[0057] The external synchronizer 122 stores information about the amount of skew 136 in a register 156. The internal synchronizer 130 is configured to write to a first register 158 in the external synchronizer 122 for the first processor unit 132 and read a second register 160 in the external synchronizer 122 for the second processor unit 134, and compare the value of the first register 158 with the value of the second register 160 to determine when the first processor unit 132 and the second processor unit 134 are aligned in timing to synchronously process instructions.
[0058] In another illustrative example, external synchronizer 122 includes a first clock 162 for first processor unit 132 and a second clock 164 for second processor unit 132. First clock 162 and second clock 164 are used to align timing for first processor unit 132 and second processor unit 134 to synchronously process instructions.
[0059] At least one of the integrity manager 120, the external synchronizer 122, or the internal synchronizer 124 may be implemented in software, hardware, firmware, or a combination thereof. When software is used, the operations performed by at least one of the integrity manager 120, the external synchronizer 122, or the internal synchronizer 124 may be implemented in program code that is configured to run on hardware, such as a processor unit. When firmware is used, the operations performed by at least one of the integrity manager 120, the external synchronizer 122, or the internal synchronizer 124 may be implemented in program code and data and may be stored in a persistent memory to run on a processor unit. When hardware is employed, the hardware may include circuitry that operates to perform the operations in at least one of the integrity manager 120, the external synchronizer 122, or the internal synchronizer 124.
[0060] In an illustrative example, the hardware may take the form of at least one selected from a circuit system, an integrated circuit, an application specific integrated circuit (ASIC), a programmable logic device, or some other suitable type of hardware configured to perform several operations. Using a programmable logic device, the device can be configured to perform several operations. The device can be reconfigured later, or can be permanently configured to perform several operations. For example, programmable logic devices include programmable logic arrays, programmable array logic, field programmable logic arrays, field programmable gate arrays, and other suitable hardware devices. In addition, the method can be implemented in organic components integrated with inorganic components, and can be composed entirely of organic components other than humans. For example, the process can be implemented as a circuit in an organic semiconductor.
[0061] For example, integrity manager 120 may be implemented in hardware as a single logic device or as multiple different types of logic devices. The different types of logic devices may be selected to reduce potential problems, such as common mode failures. For example, a first logic device may be a field programmable gate array, while a second logic device may be an application specific integrated circuit (ASIC). Furthermore, when more than one logic device is used, each logic device has a channel through which messages for a particular processor unit are processed. The logic devices may have connections so the logic devices may be aligned in time.
[0062] In an illustrative example, there are one or more technical solutions that overcome the technical problem of obtaining the desired efficiency in the redundancy of processing data using a processor unit. Therefore, one or more technical solutions can provide a technical effect of increasing the efficiency of processing data by a processor unit. For example, one or more technical solutions can achieve at least one of aligning the timing of processing data or processing messages by a processor unit operating in a high integrity mode.
[0063] Thus, computer system 110 operates as a special purpose computer system in which at least one of data manager 112 or internal synchronizer 124 in computer system 110 enables management of processing of data 114 in a manner that allows mixed integrity mode 104 to exist during processing of data 114. In particular, at least one of data manager 112 or internal synchronizer 124 converts computer system 110 into a special purpose computer system as compared to currently available general purpose computer systems that do not have data manager 112, internal synchronizer 124, or both.
[0064] Figure 1The diagram of the data processing environment in is not meant to imply physical or architectural limitations of the manner in which the illustrative embodiments may be implemented. Other components other than or in place of the components described may be used. Some components may be unnecessary. In addition, there are these blocks to illustrate some functional components. When implemented in an illustrative embodiment, one or more of these blocks may be combined, one or more of these blocks may be divided into different blocks, or one or more of these blocks may be combined and divided into different blocks.
[0065] For example, data processing environment 100 is shown only with external node 116. In another illustrative example, one or more external nodes are present in addition to or in place of external node 116.
[0066] Although the illustrative examples are described with respect to aircraft, other illustrative examples may be applied to other uses. For example, the illustrative examples may be implemented for medical imaging, accounting, weather forecasting, or other suitable uses.
[0067] As yet another example, two processor units have been described in processor unit 102. One or more of processor units 102 may be present in addition to or in place of first processor unit 132 and second processor unit 134.
[0068] For example, a third processor unit may be present in the processor unit 102. The internal synchronizer 130 is configured to communicate with the external synchronizer 122 to determine whether an undesirable amount of skew 136 exists between the first processor unit 132, the second processor unit 134, and the third processor unit in communication with the external synchronizer, and selectively instruct the first processor unit 132 to perform an action 138 without generating a desired result, such that when an undesirable amount of skew 136 exists, the amount of skew 136 between the first processor unit 132, the second processor unit 134, and the third processor unit is reduced.
[0069] For example, two integrity modes are shown for the mixed integrity mode 104. In other illustrative examples, there may be other numbers of integrity modes. For example, three integrity modes, five integrity modes, or some other number of integrity modes may be utilized. For example, these additional integrity modes use different numbers of comparisons. For example, with respect to the three integrity modes, an application may be running on three different ones of the processor units 102 and processing the same data. The outputs from the application running on the three processor units may be compared or voted on by the integrity manager 120 in the data manager 112. In the vote, the outputs from the three processor units are compared. A majority is identified for the output value. The majority may be two-thirds or three-thirds of the output values are the same. This output value is the value that is used. The minority of the output values are discarded.
[0070] Next reference Figure 2 , depicts a diagram of a hybrid integrity data processing system according to an illustrative embodiment. In this illustrative example, Figure 1 Used under the control of the data manager 112 Figure 1 The hybrid integrity data processing system 200 is implemented by the processor unit 102 in the embodiment of the present invention.
[0071] In this illustrative example, processor unit 202 and processor unit 204 are multi-core processors. As depicted, processor unit 202 includes core 206 and core 208. Processor unit 204 includes core 210 and core 212. As depicted, these different cores run applications during time slices, such as time slice 214, time slice 216, and time slice 218.
[0072] In this illustrative example, core 206 in processor unit 202 runs application 1 220 during time slice 214, runs application 4 222 during time slice 216, and runs application 1 220 during time slice 218. Core 208 in processor unit 202 runs application 2 224 during time slice 214, runs application 5 226 during time slice 216, and runs application 6 228 during time slice 218.
[0073] As depicted, core 210 in processor unit 204 runs application 1 220 during time slice 214, runs application 4 222 during time slice 216, and runs application 1 220 during time slice 218. Core 212 in processor unit 204 runs application 3 230 during time slice 214, runs application 5 226 during time slice 216, and runs application 3 230 during time slice 218.
[0074] Application 1 220 is run by core 206 in processor unit 202 and core 210 in processor unit 204 using high integrity mode. In a similar manner, application 4 222 is also run by core 206 and core 210 in high integrity. Both core 208 in processor unit 202 and core 212 in processor unit 204 run application 5 226 in high integrity mode. Application 2 224, application 3 230, application 4 222, and application 6 228 are run by core 210 in processor unit 204 and core 208 in processor unit 202 in standard integrity. At least one of data processing or message exchange is performed by Figure 1 The data manager 112 in is managed to provide the hybrid integrity mode in this example. In some examples, this process can be applied to the core's mode to achieve a higher level of granularity.
[0075] An illustration of a hybrid integrity data processing system 200 is provided as Figure 1 How can the processor unit 102 in Figure 1 1. This illustration is not meant to limit the manner in which other illustrative examples may be implemented. For example, other numbers of processor units may be implemented in other illustrative examples.
[0076] Next turn Figure 3 , depicts an illustration of a flowchart of a process for managing data transfers for multiple processors according to an illustrative embodiment. The process illustrated in this figure may be Figure 1 is implemented in the integrity manager 120 in .
[0077] The process begins by receiving messages exchanged between the processor unit and the external node in an integrity manager located in hardware that communicates with the processor unit and the external node, and checking whether outputs of redundant calculations from the processor unit match when the high integrity mode is selected (operation 300). The process manages message exchanges between the processor unit and the external node based on the selected mode in the mixed integrity mode (operation 302). Thereafter, the process terminates.
[0078] Next reference Figure 4 , depicts an illustration of a flowchart of a process for synchronizing processors in accordance with an illustrative embodiment. Figure 1 The internal synchronizer 130 is implemented in Figure 4 The process described in .
[0079] The process begins by communicating with an external synchronizer to determine whether an undesirable amount of skew exists between a first processor unit and a second processor unit in communication with a synchronization system (operation 400). The process selectively instructs the first processor unit to perform an action without generating a desired result so that when an undesirable skew exists, the amount of skew between the first processor unit and the second processor unit is reduced (operation 402). The process terminates thereafter. In an illustrative example, the process may be used when the first processor unit and the second processor unit are associated with each other for a high integrity mode, wherein integrity checks are performed on respective messages generated by the first processor unit and the second processor unit.
[0080] Next turn Figure 5 , depicts an illustration of a flowchart of a process for synchronizing processor units in accordance with an illustrative embodiment. Figure 5 The process described in Figure 1 The process may be implemented in a data processing environment 100 in Figure 1 Specifically, the process may be implemented in an internal synchronizer (such as in Figure 1 is implemented in an internal synchronizer 130 running on the first processor unit 132 in .
[0081] The process begins with the internal synchronizer processor unit writing a logic 1 to a common register in the external synchronizer (operation 500). The common register can be accessed by the processor unit, aligning the timing of the processor unit with each other for processing data. The processor unit can be designed to run at a specific clock speed. However, the actual physical implementation of the processor unit may be slightly different from the specification. This register can be used to align the timing processors during execution so that they execute instructions as close to the same time as possible in a synchronous manner.
[0082] The process reads a common status register in an external synchronizer (operation 502). A determination is made as to whether the value read from the common status register is a logical 1 (operation 504). The common status register is shared between processor units. A simple status register cannot be seen by more than one processor unit.
[0083] If the value is a logical one, the processor unit begins processing (operation 506). Thereafter, the process terminates. In this illustrative example, processing may include initialization, starting an application, continuing execution of an application, or some other suitable action. Referring again to operation 504, if the value is not a logical one, the process returns to operation 502.
[0084] Reference now Figure 6, depicts an illustration of a flowchart of a process for synchronizing processor units according to an illustrative embodiment. The flowchart shows that an internal synchronizer (such as on a first processor unit) is executed on a first processor unit. Figure 1 The process may be executed by two or more processor units to synchronize instruction processing by the processor units.
[0085] In this example, each of the processor units has a clock that measures the time that has passed. The clock may be a digital clock that measures real time relative to the central processing unit time, which measures the time that the process is actively processing a task.
[0086] As depicted, the clock may be an external clock that is read by the processor unit. For example, the clock may be located in an external synchronizer. The clock measures chronological time in days, hours, minutes, and seconds rather than processor cycles.
[0087] The process begins with an internal synchronizer in a first processor unit reading a clock in an external synchronizer, operation 600. The clock is for the first processor unit and is synchronized with the clocks of any other processor units running the same application or instruction set.
[0088] It is determined whether the value read from the difference register is greater than a threshold value (operation 602). The difference register stores a value representing the difference between the current time of the clock and a snapshot of the time when the internal synchronizer in the processor unit reads the difference register. In this illustrative example, the difference register is located in the external synchronizer.
[0089] The external synchronizer sets the difference register to a value that represents the difference in time when the two processor units read the difference register. As depicted, the leading processor unit will get a value of zero. The lagging processor unit sees the actual skew time. For example, the lagging processor unit will get a number that is the difference between the time when the leading processor unit reads the difference register and the time when the lagging processor unit reads the difference register.
[0090] As depicted, the threshold can be selected based on many different factors. For example, the amount of skew allowed between the two processing units can be used to set the threshold. If the value of the difference register is greater than the threshold, the synchronizer instructs the second processor unit to perform the action without obtaining any results (operation 604).
[0091] In this illustrative example, an action is performed to speed up a lagging processor unit. For example, a pre-scheduled idle time lagging processor unit can be removed. Alternatively, a leading processor unit can be idled to allow the lagging processor unit to catch up. For example, when two processor units are running the same program using the same data, performing an action that does not include processing the data to obtain a result is considered an action that does not produce the desired result.
[0092] In another example, the action in operation 604 can be to remove the standby partition or pre-schedule idle time. In other words, removing the standby partition causes the processor unit to perform an action that is not performed by a corresponding application on another processor unit synchronized with the processor unit. Then, the process returns to operation 602.
[0093] In operation 602, if the value of the difference register is not greater than the threshold value, the process also returns to operation 602. In this case, the first processor unit is synchronized with the second processor unit or the first processor unit lags behind the second processor unit.
[0094] Reference now Figure 7 , depicts an illustration of a flowchart of a process for synchronizing the sending of messages from processor units in accordance with an illustrative embodiment. Figure 7 The process described in the above is performed by an internal synchronizer (such as Figure 1 The internal synchronizer 130 running on the first processor unit 132 in the UE is used to manage the sending of messages based on the messages queued in the integrity manager 120. In other words, the process allows messages to be collected in the queue until the empty portion of the queue is reduced below a predetermined threshold.
[0095] The process begins by reading a queue depth register in the external synchronizer (operation 700). The queue depth register contains the queue depth, which indicates how many messages are in the queue. The queue can be used to match messages sent by two processor units.
[0096] It is determined whether the queue in the external synchronizer has space for n messages (operation 702). In operation 702, n messages is a predefined number of messages. In one example, the queue can accommodate ten messages, and the processor unit can write three messages at a time. If the queue depth is nine, there is insufficient space in the queue for writing another three messages.
[0097] If the queue does not have room for n messages, the process increases the idle time and then returns to the leading processor unit (operation 704). The process then returns to operation 700. The process loops until space is available to write three messages to the queue. Therefore, if the queue does not have room for n messages, the process unit will not place a message in the queue.
[0098] Otherwise, if the queue has space for n messages, the internal synchronizer in the processor unit writes the message to the queue in the external synchronizer (operation 706). The process then terminates. The process can be restarted when there are additional messages to send.
[0099] Thus, the integrity manager may control the first queue and the second queue such that the first processor unit reads from the first queue and the second processor unit reads from the second queue and both execute to the same queue depth to maintain parallel channel consistency. Although the writing of messages is shown as being performed by an internal synchronizer, this operation may be performed by another component within the processor unit, where the internal synchronizer indicates when n messages may be written.
[0100] Go to Figure 8 , depicts an illustration of a flowchart of a process for sending a message in accordance with an illustrative embodiment. The process may be Figure 1 The integrity manager 120 is implemented in order to align Figure 1 The timing of the redundantly generated outbound messages of the processor unit 102 in the queue and ensure their integrity. In this example, each message is placed in a specific position in the queue based on an identifier. The identifier can be in the header of the message.
[0101] The process begins by receiving a message from a first processor unit (operation 800). The process determines whether the message is a high integrity message (operation 802). This determination can be made in a number of different ways. For example, a header can include an indication of whether the message is a high integrity message. In another illustrative example, a configuration file, a register, or some other kind of indicator can be checked to determine whether the message is a high integrity message.
[0102] If the message is a high integrity message, the process stores the message (operation 804). In operation 804, the message can be stored in various types of storage devices. For example, the message is stored in a queue, which can be implemented using many different types of devices. For example, the queue can be implemented using a buffer, a port array, or some other suitable type of device. As depicted, the port array is a set of dynamic buffers where messages can be located in different locations rather than a specific location. Through the port array, the integrity manager searches the buffers of different processor units to pair messages for processing. In other words, the messages that should be compared may be in a different order in the dynamic buffer group.
[0103] The process waits to receive a corresponding message from the second processor unit (operation 806). A determination is made as to whether the second message has been received or whether a timeout has occurred (operation 808). If a timeout has occurred, the message is discarded (operation 810) and an error is indicated (operation 812). The process terminates thereafter.
[0104] Referring again to operation 808, if a second message has been received, the process performs a comparison between the two messages (operation 814). The comparison can be performed in a variety of different ways. For example, bit-by-bit comparison, comparison of cyclic redundancy check signatures, and other techniques can be used.
[0105] Determine whether the two messages match (operation 816). If the two messages match, the process sends the message (operation 818). In this illustrative example, the message is sent to the network. Thereafter the process terminates.
[0106] Otherwise, the process discards both messages (operation 820). In operation 820, the messages are discarded because there is no match. The process then proceeds to operation 812 as described above. Referring again to operation 802, if the message does not have high integrity, the process proceeds to operation 818 as described above.
[0107] Next reference Fig. 9 , depicts an illustration of a flowchart of a process for sending a message in accordance with an illustrative embodiment. The process may be Figure 1 1 is implemented in the integrity manager 120 in order to align the timing of redundantly generated outbound messages and ensure their integrity.
[0108] The process begins by receiving a message from a processor unit (operation 900). A determination is made as to whether the message is a high integrity message (operation 902). If the message is a high integrity message, the process places the message in a queue in a channel of the processor unit (operation 904). As depicted, the queue is a first-in-first-out (FIFO) queue and may be implemented as a buffer.
[0109] Determine whether the queue in the channel of another processor has one or more messages (operation 906). If the queue in the channel of another processor does not have one or more messages, the process performs a timeout check (operation 908). If no timeout occurs, the process returns to operation 906.
[0110] If the other queue has one or more messages, the process performs a bitwise comparison between the two head messages in the queue (operation 910). In this illustrative example, the head message is the next message to be pulled from the queue.
[0111] Determine whether the two messages match (operation 912). If the two messages match, the process sends the message (operation 914). In this illustrative example, the message is sent to the network. Thereafter the process terminates. Otherwise, the process discards the two messages and indicates an error (operation 916).
[0112] Referring again to operation 902, if the message is not a high integrity message, the process proceeds to operation 914. Returning to operation 908, if a timeout has occurred, the process proceeds to operation 916.
[0113] exist Fig.10 In the figure, an illustration of a flow diagram of a process for receiving a message according to an illustrative embodiment is depicted. This process can be implemented in an integrity manager. This process illustrates pulling a message.
[0114] The process begins by detecting the arrival of a message (operation 1000). The process places the message at the back of the queue (operation 1002). The process then increments a queue depth counter (operation 1004), after which the process terminates. In this illustrative example, the queue depth counter can be used to indicate how the messages can be read. The integrity manager can use this queue depth counter to ensure that the messages are read in the same order.
[0115] Next reference Fig.11 , depicts an illustration of a flowchart of a process for receiving a message according to an illustrative embodiment. In this illustrative example, the process may be performed at Figure 1 The process illustrates pulling messages from a queue.
[0116] The process begins by receiving a read request for a first queue of a first processor unit (operation 1100). A determination is made as to whether a second queue for a second processor unit has been read by the second processor unit (operation 1102). If the second queue has been read, the process selects a second queue depth value in the second queue read by the second processor unit (operation 1104).
[0117] Without the integrity manager, each processor unit typically uses its own queue depth counter for reading messages. In this illustrative example, the integrity manager selects a queue depth value from a particular queue depth counter so that both processor units read the same number of messages.
[0118] The process sends the selected queue depth value to the first processor unit (operation 1106). Operation 1106 enables the first processor unit to read a number of messages indicated based on the queue depth value. The process decrements the queue depth value in the queue depth counter by the number of messages read (operation 1108). In operation 1108, the queue depth counter can be a first queue depth counter of the first processor unit or a second queue depth value of the second processor unit. The decremented queue depth counter is based on the queue depth value provided to the first processor unit. The process terminates thereafter. In this illustrative example, a specific queue depth value is selected from the selected queue depth counter so that the two processor units use the same queue depth value for reading messages.
[0119] Referring again to operation 1102, if the second queue of the second processor has not been read, the process determines whether the second queue depth value in the second depth queue counter is greater than the first queue depth value in the first depth queue counter (operation 1110). If the second queue depth value is greater than the first queue depth value, the process uses the first queue depth value for reading messages (operation 1112). The process then proceeds to operation 1106. Otherwise, the process uses the second queue depth value for reading messages (operation 1114) and proceeds to operation 1106.
[0120] Next reference Fig.12 , depicts an illustration of a flowchart of a process for receiving a message according to an illustrative embodiment. In this illustrative example, the process may be performed at Figure 1 The process is implemented in the integrity manager 120 in FIG.
[0121] The process begins by detecting the arrival of a message (operation 1200). The process pushes the message into the memory of the processor unit (operation 1202). The process then increments the queue depth (operation 1204), after which the process terminates.
[0122] Next reference Fig.13 , depicts an illustration of a flowchart of a process for receiving a message according to an illustrative embodiment. In this illustrative example, the process may be performed at Figure 1 The process is implemented in the integrity manager 120 in the processor. This process describes a push message. This process can be used to inform the processor unit of a message to be read from the memory in the processor unit.
[0123] The process begins by receiving a request to read a message from a first processor unit (operation 1300). A determination is made as to whether a second queue of a second processor unit has been read (operation 1302). If the queue has been read, the process provides a second read pointer for the queue of the second processor unit (operation 1304). In this illustrative example, the read pointer indicates how to read messages from the queue. For example, the read pointer may point to the last message that can be read in the queue by the processor unit. In other words, the read pointer may indicate a queue depth similar to a queue depth value.
[0124] The processor unit reads a number of messages from its internal memory up to the read pointer (operation 1306). The messages are pushed by the integrity manager in the example. The integrity manager decrements the push counter by the number of messages read (operation 1308). The process terminates thereafter. When the integrity manager receives a new message, the integrity manager pushes the new message to the memory in the processor unit and updates the push count. The read count is how many of those pushed messages the processor unit is allowed to read. Thus, if X messages are pushed and the processor unit is allowed to read Y messages, then XY messages are left in the processor memory. The push count is decremented by Y to indicate how many unread messages remain in the memory.
[0125] Referring again to operation 1302, if the second queue of the second processor unit has not been read, the process determines whether the push counter of the second processor unit is greater than the push counter of the first channel (operation 1310). If the push counter of the second queue depth is greater than the first push counter of the first channel, the process uses the value of the first push counter as the read point for reading the message (operation 1312). The process then proceeds to operation 1306. Otherwise, the process uses the push counter of the second channel as the read pointer (operation 1314). The process then proceeds to operation 1306.
[0126] The flow charts and block diagrams in the different depicted embodiments illustrate the architecture, function and operation of some possible implementations of the apparatus and method in an illustrative embodiment. In this regard, each block in a flow chart or block diagram can represent at least one of a module, segment, function or operation or a part of a step. For example, one or more blocks can be implemented as a combination of program code, hardware or program code and hardware. When implemented in hardware, the hardware can, for example, take the form of an integrated circuit, which is manufactured or configured to perform one or more operations in a flow chart or block diagram. When implemented as a combination of program code and hardware, an implementation can take the form of firmware. Each block in a flow chart or block diagram can be implemented using a dedicated hardware system, which performs different operations or combinations of the program code run by dedicated hardware and dedicated hardware.
[0127] In some alternative implementations of an illustrative embodiment, one or more functions mentioned in the blocks may not occur in the order mentioned in the figure. For example, in some cases, two blocks shown in succession may be executed substantially simultaneously, or the blocks may sometimes be executed in the reverse order, depending on the functionality involved. In addition, other blocks may be added in addition to the blocks illustrated in the flowchart or block diagram. For example, with respect to reading a message, a flowchart or block diagram may be described. Fig.12 This procedure can also be used to write or send messages.
[0128] Now go to Fig.14 , depicts a diagram of a block diagram of a data processing system according to an illustrative embodiment. Data processing system 1400 may be used to implement Figure 1 1400 and external nodes 116. In this illustrative example, data processing system 1400 includes communications framework 1402, which provides communications between processor unit 1404, memory 1406, persistent storage 1408, communications unit 1410, input / output (I / O) unit 1412, and display 1414. In this example, communications framework 1402 may take the form of a bus system.
[0129] Processor unit 1404 serves to execute instructions for software that may be loaded into memory 1406. Processor unit 1404 may be a number of processors, a multi-processor core, or some other type of processor, depending on the particular implementation.
[0130] Memory 1406 and persistent storage 1408 are examples of storage 1416. A storage device is any hardware block capable of storing information, such as, for example but not limited to, at least one of data, program code in functional form, or other appropriate information, whether on a temporary basis, a permanent basis, or both a temporary and permanent basis. In these illustrative examples, storage 1416 may also be referred to as a computer-readable storage device. In these examples, memory 1406 may be, for example, a random access memory or any other suitable volatile or non-volatile storage device. Persistent storage 1408 may take various forms, depending on the particular implementation.
[0131] For example, persistent storage 1408 may include one or more components or devices. For example, persistent storage 1408 may be a hard drive, a solid-state hard drive, a flash memory, a rewritable optical disk, a rewritable magnetic tape, or some combination thereof. The media used by persistent storage 1408 may also be removable. For example, a removable hard drive may be used for persistent storage 1408.
[0132] In these illustrative examples, communications unit 1410 provides for communications with other data processing systems or devices. In these illustrative examples, communications unit 1410 is a network interface card.
[0133] Input / output unit 1412 allows input and output of data with other devices that may be connected to data processing system 1400. For example, input / output unit 1412 may provide a connection for user input through at least one of a keyboard, a mouse, or some other suitable input device. Additionally, input / output unit 1412 may send output to a printer. Display 1414 provides a mechanism for displaying information to a user.
[0134] Instructions for at least one of an operating system, applications, or programs may be located in storage devices 1416, which are in communication with processor unit 1404 through communications framework 1402. The processes of the different embodiments may be performed by processor unit 1404 using computer-implemented instructions, which may be located in a memory, such as memory 1406.
[0135] These instructions are referred to as program code, computer usable program code, or computer readable program code, which can be read and executed by a processor in processor unit 1404. The program code in different embodiments may be embodied on different physical or computer readable storage media, such as memory 1406 or persistent storage 1408.
[0136] Program code 1418 is located in functional form on computer readable medium 1420, which may be selectively removed and loaded or transferred to data processing system 1400 for execution by processor unit 1404. In these illustrative examples, program code 1418 and computer readable medium 1420 form computer program product 1422. In the illustrative examples, computer readable medium 1420 may be computer readable storage medium 1424. In these illustrative examples, computer readable storage medium 1424 is a physical or tangible storage device for storing program code 1418 rather than a medium that propagates or transmits program code 1418.
[0137] Alternatively, program code 1418 may be transmitted to data processing system 1400 using a computer readable signal medium. Computer readable signal media may be, for example, a propagated data signal containing program code 1418. For example, a computer readable signal medium may be at least one of an electromagnetic signal, an optical signal, or any other suitable type of signal. These signals may be transmitted via at least one of a communication link, such as a wireless communication link, a fiber optic cable, a coaxial cable, an electric wire, or any other suitable type of communication link.
[0138] The different components described for data processing system 1400 are not meant to provide architectural limitations to the manner in which the different embodiments may be implemented. The different illustrative embodiments may be implemented in a data processing system that includes components in addition to or in place of those described for data processing system 1400. Fig.14 Other components shown in the can be varied from the illustrative examples shown. The different embodiments can be implemented using any hardware device or system capable of running program code 1418.
[0139] You can Fig.15 Aircraft manufacturing and service method 1500 as shown in and as Fig.16 Illustrative embodiments of the present disclosure are described in the context of aircraft 1600 shown in FIG. Fig.15 , depicts an illustration of a block diagram of an aircraft manufacturing and service method according to an illustrative embodiment. During pre-production, aircraft manufacturing and service method 1500 may include Fig.16 Specification and design 1502 of the aircraft 1600 and material procurement 1504.
[0140] During production, component and subassembly manufacturing 1506 and system integration 1508 of the aircraft 1600 occurs. Thereafter, the aircraft 1600 may pass through certification and delivery 1510 to be placed in service 1512. While in service 1512 by a customer, the aircraft 1600 is scheduled for routine maintenance and servicing 1514, which may include modification, reconfiguration, refurbishment, and other maintenance or servicing.
[0141] Each of the processes of aircraft manufacturing and service method 1500 may be performed or carried out by a system integrator, a third party, an operator, or some combination thereof. In these examples, the operator may be a customer. For purposes of this description, a system integrator may include, but is not limited to, any number of aircraft manufacturers and major system subcontractors; a third party may include, but is not limited to, any number of vendors, subcontractors, and suppliers; and an operator may be an airline, leasing company, military entity, service organization, etc.
[0142] Reference now Fig.16 , depicts an illustration of a block diagram of an aircraft in which an illustrative embodiment may be implemented. In this example, aircraft 1600 is comprised of Fig.1516. Aircraft manufacturing and service method 1500 is shown in the drawings and may include airframe 1602 having multiple systems 1604 and interior 1606. Examples of systems 1604 include one or more of propulsion system 1608, electrical system 1610, hydraulic system 1612, environmental system 1614, and computer system 1616. Any number of other systems may be included. Although an aerospace example is shown, different illustrative embodiments may be applied to other industries, such as the automotive industry. Fig.15 Apparatuses and methods embodied herein are employed during at least one of the stages of aircraft manufacturing and service method 1500 .
[0143] In an illustrative example, in Fig.15 The components and subassemblies produced in 1506 may be manufactured in the same manner as in Fig.15 The aircraft 1600 in service 1512 is manufactured or fabricated in a similar manner to the components or subassemblies produced while in service 1512. As another example, during a production phase (such as Fig.15 One or more apparatus embodiments, method embodiments, or a combination thereof may be utilized during component and subassembly manufacturing 1506 and system integration 1508 in the aircraft 1600. Fig.15 During or both maintenance and servicing 1514, one or more apparatus embodiments, method embodiments, or a combination thereof may be used.
[0144] For example, a data manager such as Figure 1 At least one of the data manager 112 in the aircraft 1600 or one or more internal synchronizers (such as the internal synchronizer 124) can be implemented in the computer system 1616 in the aircraft 1600. The use of these components can enable the processing of data in a mixed integrity mode. The different components can synchronize the processing of data, the exchange of messages, or some combination thereof in a more efficient manner than currently used computer systems.
[0145] Implementation using the various illustrative embodiments may significantly speed up assembly of aircraft 1600, reduce the cost of aircraft 1600, or both speed up assembly of aircraft 1600 and reduce the cost of aircraft 1600. The increased efficiency in processing data may reduce at least one of the size or number of computers required in aircraft 1600. Such increased efficiency may increase the processing power of data processing systems currently used in the aircraft, thereby reducing the amount of maintenance and refurbishment.
[0146] Thus, one or more illustrative examples may be used to reduce the cost of managing the overhead of processing data in a processor system in a platform, such as an aircraft or other suitable platform. Another type of platform includes, for example, a mobile platform, a fixed platform, a land-based structure, a water-based structure, and an air-based structure. More specifically, the platform may be a surface ship, a tank, a personnel carrier, a train, a spacecraft, a space station, a satellite, a submarine, a car, a power station, a bridge, a dam, a house, a manufacturing facility, a building, and other suitable platforms.
[0147] There are one or more technical solutions that overcome the technical problem of obtaining the required efficiency in the redundancy of processing data using processor units. Therefore, one or more technical solutions can improve the efficiency of processing data by processor units. For example, one or more technical solutions can achieve at least one of aligning the timing in processing data or the timing in processing messages of processor units operating in high integrity mode. Therefore, the processor units can process data using high integrity mode, standard integrity mode, or some combination thereof, either individually or substantially simultaneously.
[0148] The description of different illustrative embodiments has been presented for the purpose of illustration and description, and is not intended to be exhaustive or limited to the embodiments in the disclosed form. The different illustrative examples describe components that perform actions or operations. In the illustrative embodiments, the components can be configured to perform the described actions or operations. For example, the components can have a configuration or design for a structure that provides the components with the ability to perform the actions or operations described as being performed by the components in the illustrative examples.
[0149] Furthermore, the present disclosure includes embodiments according to the following embodiments:
[0150] Embodiment 1. A message management system, comprising:
[0151] An integrity manager is configured to manage the exchange of transfer messages between the processor unit and the external node based on a selected mode in the hybrid integrity mode, wherein the integrity manager is located in hardware that communicates with the processor unit and the external node, and checks whether outputs of redundant calculations from the processor unit match in the high integrity mode.
[0152] Embodiment 2. The message management system according to embodiment 1, wherein the integrity manager has a hybrid integrity mode.
[0153] Embodiment 3. A message management system according to embodiment 1, wherein a first portion of the processor unit operates with high integrity and a second portion of the processor unit operates with standard integrity, and wherein the integrity manager is configured to manage transfer messages of the first portion of the processor unit in a high integrity mode as a selected mode, and to manage transfer messages of the second portion of the processor unit in a standard integrity mode as a selected mode.
[0154] Embodiment 4. A message management system according to embodiment 1, wherein the processor units are of the same type.
[0155] Embodiment 5. A message management system according to embodiment 1, wherein the processor units are of different types.
[0156] Embodiment 6. The message management system of embodiment 1, wherein the integrity manager is implemented in hardware as a single logical device.
[0157] Embodiment 7. The message management system of embodiment 1, wherein different channels within the integrity manager are implemented in hardware as multiple separate logical devices of the same type or multiple separate logical devices of different types, wherein common mode failures are reduced.
[0158] Embodiment 8. The message management system of embodiment 1, wherein the integrity manager is configured to operate in both high integrity mode and standard integrity mode.
[0159] Embodiment 9. The message management system of embodiment 1, wherein the integrity manager is configured to synchronously receive at least one of the transfer message or transmit the transfer message for the processor unit when the selected mode in the mixed integrity mode is the high integrity mode.
[0160] Embodiment 10. A message management system according to embodiment 1, wherein the integrity manager is configured to place an external message received from an external node in a first queue of the first processor unit and place a copy of the external message in a second queue of the second processor unit when the first processor unit and the second processor unit use high integrity operations.
[0161] Embodiment 11. The message management system of embodiment 10, wherein the integrity manager controls the first queue and the second queue so that both the first processor unit reading from the first queue and the second processor unit reading from the second queue are performed to the same queue depth to maintain parallel channel consistency.
[0162] Embodiment 12. The message management system of embodiment 1, wherein the integrity manager compares a received message received from the first processor unit with a corresponding message received from the second processor unit, and sends the received message when the received message and the corresponding message match.
[0163] Embodiment 13. The message management system of embodiment 12, wherein when the received message and the corresponding message do not match, the integrity manager discards the received message.
[0164] Embodiment 14. The message management system of embodiment 12, wherein the integrity manager receives a received message from the first processor unit and discards the received message if a corresponding message is not received within a selected time period, the selected time period indicating the presence of an undesirable amount of skew.
[0165] Embodiment 15. The message management system of embodiment 12, wherein the integrity manager compares the received message from the first processor unit with the corresponding message received from the second processor unit using at least one of a bit-by-bit comparison or a cyclic redundancy check.
[0166] Embodiment 16. The message management system of embodiment 15, wherein a set of processor units truncates data values before transmitting the transfer messages to the integrity manager to reduce the accuracy of the data values when the integrity manager compares the transfer messages.
[0167] Embodiment 17. The message management system of embodiment 1, wherein the hybrid integrity mode comprises a standard integrity mode and a high integrity mode, wherein the high integrity mode performs at least one of message comparison and message synchronization between channels of the processor unit.
[0168] Embodiment 18. A message management system according to embodiment 1, wherein the processor unit is selected from at least one of a multi-core processor unit, a single-core processor unit, a homogeneous multi-core processor unit, a heterogeneous multi-core processor unit, a graphics processor unit or a general-purpose processor unit.
[0169] Embodiment 19. A method for managing data transfer of multiple processors, the method comprising:
[0170] receiving, in an integrity manager located in hardware in communication with the processor unit and the external node, transfer messages exchanged between the processor unit and the external node; and
[0171] Based on the selected mode in the hybrid integrity mode, the exchange of transfer messages by the processor unit with the external node is managed so that the outputs of the redundant computations from the processor unit match in the high integrity mode.
[0172] Embodiment 20. A method according to embodiment 19, wherein the integrity manager has a hybrid integrity mode.
[0173] Embodiment 21. A method according to embodiment 19, wherein a first portion of the processor unit operates with high integrity and a second portion of the processor unit operates with standard integrity, and wherein the integrity manager is configured to manage transfer messages of the first portion of the processor unit in a high integrity mode as a selected mode, and manage transfer messages of the second portion of the processor unit in a standard integrity mode.
[0174] Embodiment 22. A method according to embodiment 19, wherein the processor units are of the same type.
[0175] Embodiment 23. A method according to embodiment 19, wherein the processor units are of different types.
[0176] Embodiment 24. The method of embodiment 19, wherein the integrity manager is implemented in hardware as a single logical device.
[0177] Embodiment 25. The method of embodiment 19, wherein different channels within the integrity manager are implemented within multiple different logical devices to reduce common mode failures.
[0178] Embodiment 26. The method of embodiment 19, wherein the integrity manager is configured to operate in both a high integrity mode and a standard integrity mode.
[0179] Embodiment 27. The method according to embodiment 19, further comprising:
[0180] When the selected mode in the mixed integrity mode is the high integrity mode, at least one of receiving the transfer message or transmitting the transfer message is synchronously performed for the processor unit.
[0181] Embodiment 28. The method according to embodiment 19, further comprising:
[0182] placing an external message received from an external node in a first queue of the first processor unit when the first processor unit and the second processor unit are operating using high integrity; and
[0183] A copy of the external message is placed in a second queue of a second processor element.
[0184] Embodiment 29. The method according to embodiment 28, further comprising:
[0185] The first queue and the second queue are controlled such that a first processor unit reading from the first queue and a second processor unit reading from the second queue are both performed to the same queue depth to maintain parallel channel coherency.
[0186] Embodiment 30. The method according to embodiment 19, further comprising:
[0187] comparing a received message received from the first processor unit with a corresponding message received from the second processor unit; and
[0188] The received message is sent when the received message and the corresponding message match.
[0189] Embodiment 31. The method according to embodiment 30, further comprising:
[0190] When the received message and the corresponding message do not match, the received message is discarded.
[0191] Embodiment 32. The method according to embodiment 30, further comprising:
[0192] receiving a received message from the first processor unit; and
[0193] The received message is discarded if a corresponding message is not received within a selected time period, the selected time period indicating that an undesirable amount of skew exists.
[0194] Embodiment 33. The method of embodiment 30, wherein the integrity manager performs the comparison of the received message from the first processor unit with the corresponding message received from the second processor unit using at least one of a bit-by-bit comparison or a cyclic redundancy check.
[0195] Embodiment 34. The method of embodiment 33, wherein the processor unit in the processor unit truncates the data value before transmitting the transfer message to the integrity manager to reduce the accuracy of the data value when the integrity manager compares the transfer message.
[0196] Embodiment 35. A method according to embodiment 19, wherein the mixed integrity mode includes a standard integrity mode and a high integrity mode, wherein the high integrity mode performs at least one of message comparison or message synchronization between channels of the processor unit.
[0197] Embodiment 36. A method according to embodiment 19, wherein the processor unit is selected from at least one of a multi-core processor unit, a single-core processor unit, a homogeneous multi-core processor unit, a heterogeneous multi-core processor unit, a graphics processor unit or a general-purpose processor unit.
[0198] Many modifications and variations will be apparent to those skilled in the art. Additionally, different illustrative embodiments may provide different features than other desired embodiments. For example, the illustrative embodiments have been described with respect to a hybrid integrity mode, and the illustrative embodiments can be applied to environments where the processors are running in lockstep or other types of environments where the design handles at least one of synchronization or message exchange. The selected one or more embodiments are chosen and described in order to best explain the principles of the embodiments, the practical application, and to enable those skilled in the art to understand the various embodiments of the present disclosure with various modifications suitable for the intended particular use.
Claims
1. A message management system (125), wherein include: an integrity manager (120) configured to manage the exchange of transfer messages (118) between a processor unit (102) and an external node (116) based on a selected mode (128) in a hybrid integrity mode (104), wherein the integrity manager (120) is located in hardware in communication with the processor unit (102) and the external node (116), and checks whether outputs of redundant computations from the processor unit (102) match in a high integrity mode; Wherein when a first processor unit and a second processor unit of the processor units use high integrity operation, the integrity manager is further configured to: placing an external message received from the external node in a first queue for the first processor element and placing a copy of the external message in a second queue for the second processor element; receiving a read request for the first queue of the first processor element; determining whether the second queue for the second processor element has been read by the second processor element; In response to the second queue having been read, selecting a second queue depth value in the second queue read by the second processor unit; In response to not having read the second queue, determining whether a second queue depth value for the second queue is greater than a first queue depth value for the first queue; In response to the second queue depth value being greater than the first queue depth value, selecting the first queue depth value, In response to the second queue depth value being not greater than the first queue depth value, selecting the second queue depth value; The selected queue depth value is sent to the first processor unit to enable the first processor unit to read a number of messages indicated based on the selected queue depth value.
2. The message management system (125) of claim 1, wherein the integrity manager (120) has a hybrid integrity mode (104).
3. The message management system (125) of claim 1, wherein a first portion of the processor unit (102) operates with high integrity and a second portion of the processor unit (102) operates with standard integrity, and wherein the integrity manager (120) is configured to manage the transfer messages (118) of the first portion of the processor unit (102) in a high integrity mode (106) as the selected mode (128), and to manage the transfer messages (118) of the second portion of the processor unit (102) in a standard integrity mode as the selected mode (128).
4. The message management system (125) of claim 1, wherein the integrity manager (120) is implemented in hardware as a single logical device.
5. The message management system (125) of claim 1, wherein different channels within the integrity manager (120) are implemented in the hardware as multiple separate logical devices of the same type or multiple separate logical devices of different types, wherein common mode failures are reduced.
6. The message management system (125) of claim 1, wherein the integrity manager (120) is configured to operate in the high integrity mode (106) and a standard integrity mode simultaneously.
7. The message management system (125) of claim 1, wherein the integrity manager (120) is configured to synchronously receive at least one of the transfer message (118) or transmit the transfer message (118) for the processor unit (102) when the selected mode (128) in the mixed integrity mode (104) is a high integrity mode (106).
8. A method for managing data transfer of multiple processors, the method include: receiving, in an integrity manager (120) located in hardware in communication with a processor unit (102) and an external node (116), a transfer message (118) exchanged between the processor unit (102) and the external node (116); managing the exchange of the transfer messages (118) by the processor unit (102) and the external node (116) based on a selected mode (128) in the hybrid integrity mode (104) such that outputs of redundant computations from the processor unit (102) match in the high integrity mode (106); and When a first processor unit and a second processor unit of the processor units use high integrity operation: placing an external message received from the external node in a first queue for the first processor element and placing a copy of the external message in a second queue for the second processor element; receiving a read request for the first queue of the first processor element; determining whether the second queue for the second processor element has been read by the second processor element; In response to the second queue having been read, selecting a second queue depth value in the second queue read by the second processor unit; In response to not having read the second queue, determining whether a second queue depth value for the second queue is greater than a first queue depth value for the first queue; In response to the second queue depth value being greater than the first queue depth value, selecting the first queue depth value, In response to the second queue depth value being not greater than the first queue depth value, selecting the second queue depth value; The selected queue depth value is sent to the first processor unit to enable the first processor unit to read a number of messages indicated based on the selected queue depth value.
9. The method of claim 8, wherein a first portion of the processor unit (102) operates with high integrity and a second portion of the processor unit (102) operates with standard integrity, and wherein the integrity manager (120) is configured to manage the transfer messages (118) of the first portion of the processor unit (102) in a high integrity mode (106) that is the selected mode (128), and to manage the transfer messages (118) of the second portion of the processor unit (102) in a standard integrity mode.
10. The method of claim 8, wherein different channels within the integrity manager are implemented within a plurality of different logic devices to reduce common mode failures.
