Network switching device, method for operating a network switch, and computer readable medium

By configuring parallel paths and voting elements in network switching equipment for early cross-checking, the hardware cost and complexity problems caused by multiple parallel paths are solved, and the effects of quickly detecting data errors and improving data throughput are achieved.

CN111510397BActive Publication Date: 2024-08-23THE BOEING CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010077728.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-01-30
Filing Date
2020-01-31
Publication Date
2024-08-23
Estimated Expiration
2040-01-31

AI Technical Summary

Technical Problem

In high-integrity applications, using multiple parallel processing paths can increase hardware cost and complexity and cause time skew, making data corruption detection difficult.

Method used

By configuring multiple parallel paths and voting elements in network switching equipment to perform early cross-checking, detect data errors and generate protection, data errors can be quickly detected before data processing, reducing complexity and cost in later stages.

Benefits of technology

This enables faster detection of data errors, reduces complexity and cost, increases data throughput, and reduces data mismatch and time skew.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111510397B_ABST
    Figure CN111510397B_ABST
Patent Text Reader

Abstract

The present application relates to a network switching device, a method for operating a network switch, and a computer-readable medium. The network switch includes: a receiving port configured to receive data; and two or more parallel first paths, each path configured to receive a first copy of the data, verify the first copy, and generate protection for the first copy. One or more first voting elements are configured to receive a second copy of the data and cross-check the second copy. The processing part is configured to process one or more second copies. The two or more parallel second paths are each configured to receive a third copy of the data and perform multiple checks on the third copy, including protection-based checks. One or more second voting elements are configured to receive a fourth copy of the data and cross-check the fourth copy. The sending port is configured to send one or more fourth copies to the next network element.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to cross-checking data copies using one or more voting elements. Background Art

[0002] Networks use switches and other devices to path data (e.g., data packets) between source devices and destination devices. For example, a particular network may include a switch that receives data from a source device, processes the data, and sends the data to a destination device using a packet-switched path for the data.

[0003] In high integrity applications, network elements may include mechanisms to detect data corruption. For example, some switches may include multiple parallel processing paths that perform certain operations in parallel. To illustrate, in one example, a switch may use multiple parallel processing paths that perform the same function in parallel for specific data received at the switch.

[0004] In some cases, using multiple parallel processing paths can increase the hardware cost and operational complexity of the switch. Also, in some cases, the data processing through the multiple parallel processing paths can "mismatch" (one processing path runs faster than another processing path), resulting in time skew. Time skew can cause differences in the output of the parallel processing paths, indicating that data corruption has occurred in the switch. Summary of the invention

[0005] In a specific example, a network switching device includes a receiving port configured to receive data and two or more parallel first paths coupled to the receiving port. Each first path is configured to receive a first copy of the data from the receiving port, perform a check on the first copy of the data, and generate protection for the first copy of the data. The network switching device also includes one or more first voting elements, which are configured to receive a second copy of the data from the first path and cross-check the second copy of the data. The network switching device also includes a processing portion, which is configured to process one or more second copies of the data in response to the one or more first voting elements. The network switching device also includes more than two parallel second paths, each second path is configured to receive a third copy of the data from the processing portion and perform multiple checks on the third copy of the data. The multiple checks include protection-based checks. The network switching device also includes one or more second voting elements, which are configured to receive a fourth copy of the data from the second path and cross-check the fourth copy of the data. The network switching device also includes a sending port, which is configured to send one or more of the fourth copies of the data to the next network element in response to the one or more second voting elements.

[0006] In another specific example, a method of operating a network switch includes: receiving data via a receiving port; and providing a first copy of the data to a plurality of parallel first paths. The method also includes performing a check on the first copy of the data on each first path and generating protection for the first copy of the data. The method also includes cross-checking a second copy of the data received from the first path. The method also includes: in response to the cross-checking of the second copy of the data, at least some of the surface second copies match each other and are valid, processing valid data from at least one of the second copies of the data that matches each other and is valid in the processing portion. The method also includes: providing a third copy of the data to a plurality of parallel second paths, and performing a plurality of checks on the third copy of the data on each of the plurality of parallel second paths. The plurality of checks include checks based on protection. The method also includes: cross-checking a fourth copy of the data received from the second path; and in response to the cross-checking of the fourth copy of the data, selectively sending one or more of the fourth copies of the data to the next network element via a sending port.

[0007] In another specific example, a computer-readable medium stores instructions that can be executed by a processor to initiate, perform, or control an operation. The operation includes: receiving data via a receiving port; and providing a first copy of the data to a plurality of parallel first paths. The operation also includes performing a check on the first copy of the data on each first path and generating protection for the first copy of the data. The operation also includes cross-checking a second copy of the data received from the first path. The operation also includes: in response to a cross-check on the second copy of the data indicating that at least some of the second copies match each other and are valid, processing valid data from at least one of the second copies of the data that matches each other and is valid in the processing portion. The operation also includes: providing a third copy of the data to a plurality of parallel second paths, and performing a plurality of checks on the third copy of the data on each of the plurality of parallel second paths. The plurality of checks includes a check based on protection. The operation also includes: cross-checking a fourth copy of the data received from the second path; and in response to cross-checking the fourth copy of the data, selectively sending one or more of the fourth copies of the data to the next network element via a sending port. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 is a diagram illustrating certain aspects of an example of a system including a network switching device configured to cross-check data copies using one or more voting elements.

[0009] Figure 2 It shows that Figure 1 FIG. 1 is a diagram of aspects of a specific example of a network switching device.

[0010] Figure 3 Such as Figure 1 FIG. 1 is a diagram of an example of a method for operating a network switch of a network switching device.

[0011] Figure 4 Yes Figure 1 Flowchart of an example of the life cycle of a vehicle of a system.

[0012] Figure 5 is a block diagram illustrating aspects of an example of a computing system configured to execute instructions to initiate, execute, or control Figure 3 The operation of the method.

[0013] Figure 6 It is shown that Figure 1 A block diagram of aspects of an illustrative implementation of a system for a vehicle. DETAILED DESCRIPTION

[0014] In a specific implementation, the network switching device includes a single path (e.g., multiple paths that are "merged" into a single path) at an intermediate stage of the network switching device. In one example, the single path includes one or more first voting elements configured to cross-check data from multiple parallel first paths (e.g., by verifying the integrity of the data). As a result, by cross-checking the data "early" (e.g., at an intermediate stage of the network switching device and before completing data processing by the network switching device), certain data errors can be detected more quickly (compared to cross-checking the data at a "later" stage). For illustration, in a specific example, the one or more first voting elements are configured to check "easy" to detect data errors, such as by checking a timestamp of the data, a data size of the data, or a timing (e.g., a delay) associated with the data.

[0015] In some implementations, the single path also includes a processing portion (e.g., a switch fabric) that "compresses" certain operations into a single processing portion, such as operations that are less likely to produce errors, complex operations to be synchronized across multiple parallel processing paths, or expensive operations to be repeated across multiple parallel processing paths. As a result, using a single processing portion can reduce or avoid data mismatches and time skews, as well as the cost and complexity associated with duplication of the entire signal path.

[0016] Reference Figure 1 , a specific illustrative example of a system is shown and generally designated as 100. The system 100 includes a network switching device 102. The system 100 also includes a sending network element 104 and a next network element 106 coupled to the network switching device 102.

[0017] Network switching device 102 includes a receive port 110 (eg, a physical receive port). In some examples, receive port 110 is configured to receive data 130 from a sending network element 104. In some examples, sending network element 104 includes or corresponds to a switch or an originator system.

[0018] The network switching device 102 includes two or more parallel first paths (e.g., first path 112 and first path 114) coupled to the receiving port 110. In some examples, the first paths 112 and 114 are duplicate paths. For example, in some implementations, the first path 112 is synchronized with the first path 114 and is configured to generate an output that matches the output of the first path 114 if no error occurs in the first paths 112 and 114.

[0019] The network switching device 102 further includes one or more first voting elements 116. Figure 1 In some examples, one or more first voting elements 116 are coupled to the first paths 112, 114. The network switching device 102 also includes a processing portion 118 (e.g., a switch fabric) and two or more parallel second paths (e.g., second path 122 and second path 124) coupled to the processing portion 118. In some examples, the processing portion 118 includes one processing path. In this example, the processing portion 118 includes a single path processing portion. In some examples, the processing portion 118 is configured to route a specific copy of the data 130 provided by the one or more first voting elements 116 to the second paths 122, 124, and store the specific copy of the data 130.

[0020] In some examples, the second paths 122, 124 are duplicate paths. For example, in some implementations, the second path 122 is synchronized with the second path 124 and is configured to generate an output that matches the output of the second path 124 if no errors occur in the second paths 122, 124.

[0021] The network switching device 102 further includes one or more second voting elements 126 and a transmission port 128 (eg, a physical transmission port). Figure 1 In some examples, the transmit port 128 is coupled to one or more second voting elements 126. In some examples, the transmit port 128 is configured to forward the data 130 to the next network element 106. In some examples, the next network element 106 includes one or more of a switch 188 or an end system 190.

[0022] During operation, receive port 110 receives data from one or more network elements. Figure 1 In the example of FIG. 1 , receiving port 110 is configured to receive data 130 from sending network element 104 .

[0023] The first path 112 is configured to receive a first copy 132 of the data 130, and the first path 114 is configured to receive a first copy 134 of the data 130. The first path 112 is configured to perform a check 136 of the first copy of the data 130, and the first path 114 is configured to perform a check 138 of the first copy 134 of the data 130. The first path 112 is configured to generate a protection 140 of the first copy 132, and the first path 114 is configured to generate a protection 142 of the first copy 134. In a specific example, the first path 112 is configured to add the protection 140 to the first copy 132 to generate a second copy 152 of the data 130, and the first path 114 is configured to add the protection 142 to the first copy 134 to generate a second copy 154 of the data 130.

[0024] The one or more first voting elements 116 are configured to receive a second copy 152 of the data 130 from the first path 112 and to receive a second copy 154 of the data 130 from the first path 114. The one or more first voting elements 116 are configured to perform a cross-check 156 of the second copies 152, 154 of the data. In some implementations, the second copy 152 includes the protection 140 and the second copy 154 includes the protection 142. In some implementations, performing the cross-check 156 includes checking a timestamp included in each of the second copies 152, 154, checking a data size of each second copy 152, 154, checking a timing (e.g., a delay) associated with each of the second copies 152, 154, checking one or more other parameters, or a combination thereof.

[0025] In some implementations, the one or more first voting elements 116 are configured to determine a pass status or a fail status associated with the cross-check 156 based on whether the second replicas 152, 154 match each other and are valid. In a specific example, if the checks 136, 138 are satisfied, the second replicas 152, 154 are valid, and if the second replica 152 is identical to the second replica 154, the second replicas 152, 154 match each other.

[0026] To further illustrate, in some implementations, if the second copies 152, 154 are valid and match each other, then the one or more first voting elements 116 determine a pass status for the cross-check 156. In this case, in some examples, the one or more first voting elements 116 provide valid data corresponding to the second copies 152, 154 to the processing portion 118 in response to determining the pass status. As another example, in some implementations, if the second copies 152, 154 are different from each other, if the second copies 152, 154 are invalid, or both (e.g., based on different timestamps, different data sizes or contents, different delays, one or more other parameters, or a combination thereof), then the one or more first voting elements 116 determine a fail status for the cross-check 156. In this case, in some implementations, the one or more first voting elements 116 are configured to “discard” the data 130 in response to determining the fail status. As a specific illustrative example, in some implementations, the network switching device 102 is configured to provide an exception or error message (e.g., a negative acknowledgement (NACK) message) to the sending network element 104. In some examples, sending network element 104 is configured to resend data 130 in response to receiving an exception or error message.

[0027] In some implementations, the one or more first voting elements 116 are configured to perform a majority vote based on three or more second copies of the data 130. For example, in some implementations, the network switching device 102 includes N first paths coupled to the receiving port 110 and the one or more first voting elements 116, and is configured to generate N second copies of the data 130 (where N is a positive integer greater than two). In this case, in some implementations, the one or more first voting elements 116 are configured to select a specific copy of the N second copies as valid data to be forwarded to the processing portion 118 based on receiving more than N / 2 valid instances of the specific copy from the N first paths.

[0028] The processing portion 118 is configured to process the one or more second copies 152, 154 of the data 130 in response to the one or more first voting elements 116. In a specific example, the processing portion 118 includes a processor configured to receive the data 130 (e.g., from the receiving port 110 ... Figure 1 other sources not shown in the figure or a combination thereof) and routes the output packets to an output queue (e.g., an output queue included in the send port 128, Figure 1 In some examples, processing portion 118 is configured to read path or destination information of data 130 (eg, from a packet header included in data 130) to determine an output queue.

[0029] The second path 122 is configured to receive a third copy 162 of the data 130 from the processing portion 118 and to perform a plurality of checks 166, 170 on the third copy 162 of the data 130. The plurality of checks 166, 170 include checks based on protections, such as the protection 140 or the protection 142. The second path 124 is configured to receive a third copy 164 of the data 130 from the processing portion 118 and to perform a plurality of checks 168, 172 on the third copy 164 of the data 130. The checks 166, 172 include checks based on protections, such as the protection 140 or the protection 142 (e.g., error checking).

[0030] The one or more second voting elements 126 are configured to receive a fourth copy 182 of the data 130 from the second path 122 and to receive a fourth copy 184 of the data 130 from the second path 124. The one or more second voting elements 126 are configured to perform a cross-check 186 of the fourth copies 182, 184 of the data 130. In some implementations, performing the cross-check 186 includes checking a timestamp included in each of the fourth copies 182, 184, checking a path associated with each of the fourth copies 182, 184, checking a timing (e.g., a delay) associated with each of the fourth copies 182, 184, checking one or more other parameters, or a combination thereof.

[0031] In some implementations, the one or more second voting elements 126 are configured to determine a pass status or a fail status associated with the cross-check 186 based on whether the fourth replicas 182, 184 match each other and are valid. In a specific example, if the checks 166, 168, 170, and 172 are satisfied, the fourth replicas 182, 184 are valid, and if the fourth replica 182 is the same as the fourth replica 184, the fourth replicas 182, 184 match each other.

[0032] To further illustrate, in some implementations, if the fourth copies 182, 184 match each other and are valid, then the one or more second voting elements 126 determine a pass status for the cross-check 186. In this case, in some examples, in response to determining the pass status, the one or more second voting elements 126 provide valid data corresponding to the fourth copies 182, 184 to the sending port 128. As another example, in some implementations, if the fourth copies 182, 184 are different from each other, if the fourth copies 182, 184 are invalid, or both, then the one or more second voting elements 126 determine a fail status for the cross-check 186. In this case, in some implementations, the one or more second voting elements 126 are configured to “discard” the data 130 in response to determining the fail status. As a specific illustrative example, in some implementations, the network switching device 102 is configured to provide an exception or error message (e.g., a NACK message) to the sending network element 104. In some examples, the sending network element 104 is configured to resend the data 130 in response to receiving the exception or error message.

[0033] In some implementations, the one or more second voting elements 126 are configured to perform a majority vote based on three or more fourth copies of the data 130. For example, in some implementations, the network switching device 102 includes M second paths coupled to the processing portion 118 and the one or more second voting elements 126, and configured to generate M fourth copies of the data 130 (where M is a positive integer greater than 2). In this case, in some implementations, the one or more second voting elements 126 are configured to select a specific copy of the M fourth copies as valid data to be forwarded to the sending port 128 based on receiving more than M / 2 valid instances of the specific copy from the M second paths.

[0034] The transmit port 128 is configured to transmit one or more of the fourth copies 182, 184 of the data 130 to the next network element 106 in response to the one or more second voting elements 126. For example, in some implementations, the transmit port 128 includes a physical interface coupled to the one or more second voting elements 126 and the next network element 106.

[0035] although Figure 1 The example of FIG. 1 shows two first paths 112, 114, but in other examples, the receiving port 110 can be coupled to three or more first paths. Alternatively or additionally, although Figure 1The example shows two second paths 122, 124, but in other examples, the processing portion 118 can be coupled to three or more second paths. To further illustrate, in some examples, the network switching device 102 includes different numbers of first paths and second paths. For example, in a specific implementation, the network switching device 102 includes N first paths and M second paths, where N≥2, where M≥2, and where N≠M. In addition, although certain aspects of the voting elements 116, 126 are described with reference to majority voting, in other implementations, another technique, such as majority voting, can be used. In some examples, the network switching device 102 includes a plurality of receiving ports 110 (e.g., where each of the plurality of receiving ports 110 is coupled to a corresponding path in a set of parallel paths that "converge" to the processing portion 118). Alternatively or in addition, in some implementations, the network switching device 102 includes a plurality of transmitting ports 128 (e.g., each of the plurality of transmitting ports 128 is coupled to a corresponding path in a set of parallel paths that "branch" from the processing portion 118).

[0036] In addition, although Figure 1 The example of FIG. 1 shows two sets of parallel paths (first paths 112, 114 and second paths 122, 124), but in other implementations, the network switching device 102 may include a different number of parallel paths, such as one set of parallel paths, three sets of parallel paths, or other sets of parallel paths. As a specific illustrative example, the network switching device 102 may include three sets of parallel paths and two sets of processing parts.

[0037] Additionally, it should be noted that in some implementations, multiple parallel paths may be "merged" into a reduced number of parallel paths (e.g., instead of a single processing section 118). To illustrate, in some examples, three parallel first paths may be "merged" into two parallel paths (e.g., instead of a single processing section 118). Alternatively or additionally, the two parallel paths may be "expanded" into three parallel second paths. In some implementations, merging a particular number of parallel paths into a reduced number of parallel paths (instead of a single processing section) reduces device size or complexity (compared to using a greater degree of parallelism), while also enabling data integrity or redundancy in the reduced parallel paths (e.g., by performing data matching and validation at the outputs of the reduced parallel paths) compared to using a single processing section.

[0038] Figure 1One or more aspects of the invention improve the operation of the network switching device. For example, by performing the cross-check 156 "early" (e.g., in the middle stage of the network switching device 102 and before completing the data processing of the network switching device 102), certain data errors can be detected more quickly (compared to cross-checking data in a "later" stage). For illustration, in a specific example, as an illustrative example, one or more first voting elements 116 are configured to check "easy" to detect data errors, for example, by checking the timestamp of the second replicas 152, 154, the data size of the second replicas 152, 154, or the timing (e.g., delay) associated with the second replicas 152, 154. As a result, certain data errors can be detected more quickly (compared to cross-checking data in a "later" stage), thereby increasing the data throughput of the system 100.

[0039] Furthermore, in some examples, the reduced parallelism at processing portion 118 (compared to first paths 112, 114 and second paths 122, 124) results in lower complexity and cost (compared to aspects of including processing portion 118 in first path 112 and first path 114). In some implementations, protectors 140 and 142 enable detection of errors that occur during processing of processing portion 118 (because the reduced redundancy at processing portion 118 reduces the protection provided by parallelism).

[0040] Figure 2 Detailed aspects of an illustrative example of a network switching device 102 are depicted. Figure 2 In the example of , the first path 112 includes a timestamp element 202 configured to apply a timestamp 212 to the first copy 132 of the data 130. Figure 2 , the first path 112 also includes a frame filter 204 configured to apply a size constraint 214 to the first copy 132 of the data 130 . Figure 2 The example also depicts that the first path 112 includes a frame policy element 206 configured to apply a bandwidth constraint 216 to the first copy 132 of the data 130 and an error detection generation element 208 configured to generate a protection 140. In a specific example, the protection 140 includes cyclic redundancy check (CRC) data 218 based on the first copy 132 of the data 130 and the timestamp 212 to verify integrity after processing by the processing portion 118. In some examples, the check 136 is performed by the frame filter 204 (e.g., by checking that the first copy 132 satisfies the size constraint 214), the frame policy element 206 (e.g., by checking that the first copy 132 satisfies the bandwidth constraint 216), or both.

[0041] exist Figure 2In the example of , the first path 114 includes a timestamp element 222 configured to apply a timestamp 232 to the first copy 134 of the data 130. Figure 2 , the first path 114 also includes a frame filter 224 configured to apply a size constraint 234 to the first copy 134 of the data 130 . Figure 2 The example also depicts that the first path 114 includes a frame policy element 226 configured to apply a bandwidth constraint 236 to the first copy 134 of the data 130 and an error detection generation element 228 configured to generate a protection 142. In a specific example, the protection 142 includes cyclic redundancy check (CRC) data 238 based on the first copy 134 of the data 130 and the timestamp 232 to verify integrity after processing by the processing portion 118. In some examples, performing the check 138 includes checking whether the first copy 134 satisfies the size constraint 234 through the frame filter 224, checking whether the first copy 134 satisfies the bandwidth constraint 236 through the frame policy element 226, or both.

[0042] In some examples, the one or more first voting elements 116 are configured to verify the one or more second copies 152, 154 of the data 130 by comparing the results 220, 240 of the checks 136, 138; by comparing the second copies 152, 154 of the data 130 for each first path 112, 114; by comparing the timestamps 212, 232 of each first path 112, 114; by comparing the protections 140, 142 generated by each of the first paths 112, 114 or any combination thereof. As a specific example, in some implementations, the one or more first voting elements 116 are configured to verify the second copies 152, 154 based on determining that the second copies 152 match the second copies 154, and further based on determining that the second copies 152, 154 satisfy the size constraints 214, 234, the second copies 152, 154 satisfy the bandwidth constraints 216, 236, or a combination thereof. In some implementations, the one or more first voting elements 116 are configured to send at least one of the second replicas 152 , 154 determined to match each other and be valid (eg, using the cross check 156 ) to the processing portion as valid data 242 .

[0043] In a specific example, processing portion 118 is configured to embed path information 244 into valid data 242 and store valid data 242 (e.g., at an output queue associated with send port 128) with embedded path information 244. In some examples, valid data 242 corresponds to third copy 162, 164 of data 130.

[0044] exist Figure 2In the example of , second path 122 includes an error detection check element 252 configured to perform a cyclic redundancy check (CRC) 262 using protection 140 or protection 142 to verify data integrity and timestamp integrity of a third copy 162 of data 130 after processing and storage by processing portion 118. Figure 2 The second path 122 is also depicted as including a path verification element 254 configured to verify the path information 244 associated with the third copy 162 of the data 130. Figure 2 , the second path 122 includes an output queue check element 256 configured to check a position 266 of the third copy 162 of the data 130 in an output queue (eg, the output queue 260 of the second path 122 ). Figure 2 The example also depicts that the second path 122 includes a delay check element 258, which is configured to check the time delay 268 based on a timestamp (e.g., timestamp 212, timestamp 232, or other timestamp) associated with the third copy 162 of the data 130. In some examples, the checks 166, 170 are performed by the error detection check element 252 (e.g., based on CRC 262), by the path check element 254, by the output queue check element 256 (e.g., based on position 266), by the delay check element 258 (e.g., based on time delay 268), or a combination thereof. As a specific illustrative example, in some implementations, the check 166 is performed by the error detection check element 252 (e.g., based on CRC 262), and the check 170 is performed by the delay check element 258 (e.g., based on time delay 268).

[0045] exist Figure 2 In the example of , the second path 124 includes an error detection check element 272 that is configured to perform a cyclic redundancy check (CRC) 282 using the protection 140 to verify the data integrity and timestamp integrity of the third copy 164 of the data 130 after processing and storage at the processing portion 118. Figure 2 The second path 124 is also depicted to include a path verification element 274 configured to verify the path information 244 associated with the third copy 164 of the data 130. Figure 2 , the second path 124 includes an output queue verification element 276 configured to verify a position 286 of the third copy 164 of the data 130 in an output queue (eg, the output queue 280 of the second path 124 ). Figure 2The example also depicts that the second path 124 includes a delay check element 278, which is configured to check the time delay 288 based on a timestamp (e.g., timestamp 212, timestamp 232, or another timestamp) associated with the third copy 164 of the data 130. In some examples, the checks 168, 172 are performed by the error detection check element 272 (e.g., based on CRC 282), by the path check element 274, by the output queue check element 276 (e.g., based on position 286), by the delay check element 278 (e.g., based on time delay 288), or a combination thereof. As a specific illustrative example, in some implementations, the check 168 is performed by the error detection check element 272 (e.g., based on CRC 282), and the check 172 is performed by the delay check element 278 (e.g., based on time delay 288).

[0046] In some examples, one or more second voting elements 126 are also configured to verify one or more of fourth copies 182, 184 of data 130 based at least in part on cyclic redundancy checks 262, 282, positions 266, 286, time delays 268, 288, and whether at least a majority of fourth copies 182, 184 of data 130 match each other (e.g., using a cross check 186).

[0047] Figure 2 One or more aspects of the invention improve the operation of the network switching device. For example, by performing the cross-check 156 "early" (e.g., in the middle stage of the network switching device 102 and before completing the data processing of the network switching device 102), certain data errors can be detected more quickly (compared to cross-checking data at a "later" stage). To illustrate, in a specific example, as an illustrative example, one or more first voting elements 116 are configured to check "easy" to detect data errors, such as by checking the timestamp 212, 232; by checking that the second copy 152, 154 complies with the size limit 214, 234; by checking that the second copy 152, 154 complies with the bandwidth constraint 216, 236, or by checking the protection 140, 142. As a result, certain data errors can be detected more quickly (compared to cross-checking data at a "later" stage), thereby increasing the data throughput of the system 100.

[0048] Furthermore, in some examples, the reduced parallelism at processing portion 118 (compared to first paths 112, 114 and second paths 122, 124) results in lower complexity and cost (compared to aspects of including processing portion 118 in first path 112 and first path 114). In some implementations, protectors 140 and 142 enable detection of errors that occur during processing of processing portion 118 (because the reduced redundancy at processing portion 118 reduces the protection provided by parallelism).

[0049] refer to Figure 3 , a specific example of a method of operating a network switch is shown and generally labeled 300. In some implementations, the method 300 is performed to operate the network switching device 102.

[0050] The method 300 includes receiving data via a receiving port at 302. In a specific example, the data is received at the receiving port from a sending network element. To illustrate, in some examples, the network switching device 102 is configured to receive the data 130 using the receiving port 110.

[0051] The method 300 also includes providing the first copy of the data to the plurality of parallel first paths at 304. In a specific example, the receiving port 110 is configured to provide the first copy 132, 134 of the data 130 to the first paths 112, 114.

[0052] The method 300 further includes, at 306, performing a check on the first copy of the data at each first path, and generating a protection for the first copy of the data. In a specific example, performing the check includes performing the check 136 via the first path 112, and further includes performing the check 138 via the first path 114. In a specific example, generating the protection includes generating the protection 140 via the first path 112, and further includes generating the protection 142 via the first path 114. In a specific example, generating the protection includes generating the CRC data 218, the CRC data 238, or both. Alternatively or additionally, in some examples, performing the check includes performing a reference Figure 2 Describes one or more operations.

[0053] The method 300 also includes cross-checking the second copy of the data received from the first path at 308. In a specific example, cross-checking the second copy includes performing the cross-check 156 by the one or more first voting elements 116.

[0054] The method 300 also includes, at 310, in response to the cross-check of the second copy of the data indicating that at least some of the second copies match each other and are valid, processing at least one valid data from at least the second copy of the data that matches each other and is valid in the processing portion. In a specific example, the processing portion 118 is configured to process at least one of the second copies 152, 154 as valid data 242. In some examples, processing the valid data includes generating path information (e.g., path information 244) and embedding it into the valid data. In some examples, the valid data is processed at a single processing portion of the network switch (e.g., where the processing portion 118 corresponds to a single processing portion of the network switching device 102).

[0055] The method 300 also includes providing the third copy of the data to the plurality of parallel second paths at 312. In the specific example, the processing portion 118 is configured to provide the third copy 162,164 to the second paths 122,124.

[0056] The method 300 also includes, at 314, performing a plurality of checks on the third copy of the data on each of the plurality of parallel second paths, the plurality of checks including a guard-based check. In a specific example, performing the plurality of checks includes performing any of checks 166, 168, 170, and 172 including a guard-based check (e.g., a CRC check or another error detection check) 140 or 142. Alternatively or additionally, in some examples, performing the plurality of checks includes performing a reference check. Figure 2 Describes one or more operations.

[0057] The method 300 also includes cross-checking the fourth copy of the data received from the second path at 316. In a specific example, cross-checking the fourth copy of the data includes performing the cross-check 186 by the one or more second voting elements 126.

[0058] Method 300 also includes, at 318 , selectively sending one or more of the fourth copies of the data to the next network element via the transmit port in response to cross-checking the fourth copies of the data. In the specific example, data 130 is sent by transmit port 128 to the next network element 106 .

[0059] Figure 3 One or more aspects of the method 300 improve the operation of the network switching device. For example, by performing the cross-check "early" (e.g., in the middle of the network switching device 102 and before completing the data processing of the network switching device 102), certain data errors can be detected more quickly (compared to cross-checking the data at a "later" stage). As a result, certain data errors can be detected more quickly (compared to cross-checking the data "later"), thereby improving the data throughput of the system.

[0060] Furthermore, in some examples, reduced parallelism at a single processing portion (e.g., processing portion 118) results in lower complexity and cost (compared to implementing the processing portion using parallel processing paths). In some implementations, error detection information (e.g., guard 140 and guard 142) is used to detect errors that occur during processing of the processing portion (because reduced redundancy in the processing portion reduces the protection provided by parallelism).

[0061] Reference Figure 4, a flow chart of an illustrative example of a life cycle of a vehicle (e.g., an aircraft) including the system 100 is shown and generally indicated at 400. During pre-production, at 402, the method 400 includes specification and design of a vehicle. In a specific example, the specification and design of the vehicle includes determining one or more features of the system 100. During the specification and design of the vehicle, the method 400 includes specifying components, such as one or more components of the system 100. In some examples, the specification and design of the system 100 is performed at least in part on a communication protocol such as an Ethernet-based communication protocol, an aircraft data network (ADN) communication protocol, one or more other communication protocols, or a combination thereof.

[0062] At 404 , method 400 includes material procurement. For example, method 400 may include procuring materials for a vehicle (such as by procuring materials for one or more components of system 100 ).

[0063] During production, method 400 includes manufacturing of components and subassemblies at 406 and system integration of the vehicle at 408. In some implementations, system integration of method 400 includes integrating system 100 within a vehicle, such as by integrating system 100 within a communication system of the vehicle or within a control system of the vehicle, as an illustrative example.

[0064] The method 400 includes certifying and delivering the vehicle at 410 , and placing the vehicle into service at 412 . In some implementations, certifying the vehicle includes testing the operation of the system 100 .

[0065] In use, the vehicle may be scheduled for routine maintenance and service (which may also include modification, reconfiguration, refurbishment, etc.). At 414 , method 400 includes performing maintenance and service on the vehicle. To illustrate, in some examples, performing maintenance and service may include calibrating and repairing components of system 100 .

[0066] Figure 5 is an illustration of a block diagram of a computing environment 500 that includes a specific example of a network switching device 102. Figure 5 In some examples, the network switching device 102 is configured to support embodiments of computer-implemented methods and computer-executable program instructions (or codes) according to the present disclosure. In some examples, the network switching device 102 or a portion thereof executes instructions to initiate, perform, or control the operations described herein, such as Figure 3 The operations of method 300 are as follows.

[0067] The network switching device 102 includes a processor 520. The processor 520 is configured to communicate with a memory 530 (eg, system memory or another memory), one or more storage devices 540, one or more input / output interfaces 550, a communication interface 526, or a combination thereof.

[0068] Depending on the specific implementation, memory 530 includes a volatile storage device (e.g., a random access memory (RAM) device), a non-volatile storage device (e.g., a read-only memory (ROM) device, a programmable read-only memory, or flash memory), one or more other storage devices, or a combination thereof. Figure 5 Memory 530 stores an operating system 532, which may include a basic input / output system for booting the network switching device 102 and a complete operating system that enables the network switching device 102 to interact with users, other programs, and other devices. Figure 5 The specific example also depicts that the memory 530 stores instructions 534 that can be executed by the processor 520. In some examples, the instructions 534 can be executed by the processor 520 to transmit signals between components of the network switching device 102 (such as the memory 530, one or more storage devices 540, one or more input / output interfaces 550, the communication interface 526, or a combination thereof).

[0069] In a specific example, the instructions 534 include data transmission and reception instructions 536. In some examples, the data transmission and reception instructions 536 can be executed by the processor 520 to initiate, control or perform Figure 3 As a specific example, in some implementations, the processor 520 is configured to execute the data transmission and reception instructions 536 to initiate the transmission of the data 130 to the next network element 106. Alternatively or additionally, in some examples, the processor 520 is configured to execute the data transmission and reception instructions 536 to control the reception of the data 130 (or other data) from the sending network element 104. Alternatively or additionally, in some implementations, one or more of the sending network element 104 or the next network element 106 includes a processor (e.g., the processor 520 or another processor), a memory (e.g., the memory 530 or another memory), or a combination thereof.

[0070] For further explanation, in a specific example, the processor 520 is configured to execute the data transmission and reception instructions 536 to perform one or more operations described herein, such as one or more operations described with reference to the receiving port 110, the first path 112, 114, the one or more first voting elements 116, the processing portion 118, the second path 122, 124, the one or more second voting elements 126, the transmitting port 128, or a combination thereof. As a specific example, in some implementations, the network switching device 102 includes a processor configured to execute the data transmission and reception instructions 536 to perform any of the checks 136, 138, the cross-check 156, the checks 166, 168, 180 and 172, or the cross-check 186 (e.g., by executing one or more comparison instructions to compare the copies of the data 130). In this example, any of the voting elements 116, 126 can correspond to instructions executable by the processor (e.g., firmware or other instructions) to determine whether the copies of the data match each other and are valid.

[0071] Alternatively or additionally, in some examples, as illustrative examples, one or more hardware components or circuits are used to perform one or more operations described herein, such as by using a comparator circuit to perform any of checks 136, 138, cross-check 156, checks 166, 168, 180, and 172, or cross-check 186 (e.g., by using a comparator circuit to compare copies of data 130). In this case, any of voting elements 116, 126 may include one or more hardware circuits (e.g., as illustrative examples, one or more comparator circuits) configured to determine whether the copies of data match each other and are valid.

[0072] In some implementations, one or more storage devices 540 include non-volatile storage devices, such as magnetic disks, optical disks, or flash memory devices. In some examples, one or more storage devices 540 include removable storage devices, non-removable storage devices, or both. In some cases, one or more storage devices 540 are configured to store operating systems, images of operating systems, applications, and program data. In specific examples, memory 530, one or more storage devices 540, or both include tangible computer-readable media.

[0073] exist Figure 5In some examples, the processor 520 is configured to communicate with one or more input / output interfaces 550 to enable the network switching device 102 to communicate with one or more input / output devices 570 to facilitate user interaction. In some implementations, the one or more input / output interfaces 550 include a serial interface (e.g., a universal serial bus (USB) interface or an Institute of Electrical and Electronics Engineers (IEEE) 1394 interface), a parallel interface, a display adapter, an audio adapter, one or more other interfaces, or a combination thereof. In some examples, the one or more input / output devices 570 include a keyboard, a pointing device, a display, a speaker, a microphone, a touch screen, one or more other devices, or a combination thereof. In some examples, the processor 520 is configured to detect an interaction event based on user input received via the one or more input / output interfaces 550.

[0074] In a specific example, the processor 520 is configured to communicate with (or send signals to) one or more devices 580 using a communication interface 526. In some implementations, the communication interface 526 includes one or more wired interfaces (e.g., an Ethernet interface), one or more wireless interfaces that conform to the IEEE 802.11 communication protocol, one or more other wireless interfaces, one or more optical interfaces, or one or more other network interfaces, or a combination thereof. In some examples, the one or more devices 580 include a host computer, a server, a workstation, one or more other computing devices, or a combination thereof.

[0075] In some examples, processor 520 is configured to send or receive data (e.g., data 130 or other data) using system 100. For example, in some implementations, system 100 is coupled to processor 520 via communication interface 526. In some implementations, processor 520 is configured to initiate, execute, or control Figure 3 The operations of method 300 are as follows.

[0076] You can Figure 6 Aspects of the disclosure are described in the context of the illustrated example of a vehicle 600. In some examples, vehicle 600 includes or corresponds to an aircraft.

[0077] like Figure 6 As shown, vehicle 600 includes body 618 having multiple systems 620 and interior 622. Examples of multiple systems 620 include propulsion system 624, environmental system 628, hydraulic system 630, and one or more of system 100. Any number of other systems may be included.

[0078] In some implementations, as an illustrative example, system 100 is included in a particular system of system 620, such as a communication system or control system of vehicle 600. In some examples, system 100 is included in an Ethernet network (e.g., in an Ethernet-based communication system of vehicle 600), in one or more other systems of vehicle 600, or in a combination thereof.

[0079] The illustrations of the examples described herein are intended to provide a general understanding of the structures of various implementations. These descriptions are not intended to be used as a complete description of all elements and features of the devices and systems utilizing the structures or methods described herein. After reviewing this disclosure, many other implementations may be apparent to those skilled in the art. Other implementations may be utilized and derived from this disclosure, so that structural and logical replacements and changes may be made without departing from the scope of this disclosure. For example, method operations may be performed in an order different from that shown in the figure, or one or more method operations may be omitted. Therefore, this disclosure and the accompanying drawings should be considered illustrative rather than restrictive.

[0080] In addition, although specific examples have been illustrated and described herein, it should be understood that any subsequent arrangement designed to achieve the same or similar results may replace the specific implementation shown. This disclosure is intended to cover any and all subsequent modifications or changes to the various implementations. Combinations of the above implementations and other implementations not specifically described herein will be apparent to those skilled in the art upon reading the specification.

[0081] Under the premise of disclosing the summary, it will not be used to interpret or limit the scope or meaning of the technical solution. In addition, in the aforementioned specific implementations, in order to rationalize the present disclosure, various features can be combined together or described in a single implementation. The examples described above illustrate but do not limit the present disclosure. It should also be understood that many modifications and variations are possible according to the principles of the present disclosure. As reflected in the following technical solutions, the subject matter claimed for protection may be directed to less than all features of any example in the disclosed examples. Therefore, the scope of the present disclosure is limited by the attached technical solutions and their equivalents.

Claims

1. A network switching device (102), include: A receiving port (110) configured to receive data (130); two or more parallel first paths (112, 114) coupled to the receiving port, each of the first paths being configured to receive a first copy (132, 134) of the data from the receiving port, perform a checksum (136, 138) on the first copy of the data, and generate protection (140, 142) for the first copy of the data; one or more first voting elements (116) configured to receive a second copy (152, 154) of the data from the first path and cross-check (156) the second copy of the data; a processing portion (118) configured to process one or more of said second copies of said data in response to one or more of said first voting elements; two or more parallel second paths (122, 124) coupled to the processing portion, each second path configured to receive a third copy (162, 164) of the data from the processing portion and perform a plurality of checks (166, 168, 170, 172) on the third copy of the data, the plurality of checks including a check (166, 168, 170, or 172) based on the protection; one or more second voting elements (126) configured to receive a fourth copy (182, 184) of the data from the second path and cross-check (186) the fourth copy of the data; as well as a sending port (128) configured to send one or more of the fourth copies of the data to a next network element (106) in response to one or more of the second voting elements, Wherein, each of the first paths comprises: a timestamp element (202, 222) configured to apply a timestamp (212, 232) to the first copy of the data; a frame filter (204, 224) configured to apply a size constraint (214, 234) to the first copy of the data; a frame policy element (206, 226) configured to apply a bandwidth constraint (216, 236) to the first copy of the data; and An error detection generation element (208, 228) is configured to generate the protection, wherein the protection includes cyclic redundancy check data (218, 238) based on the first copy of the data and the timestamp to verify integrity after processing by the processing portion.

2. The network switching device according to claim 1, in, The receiving port is configured to receive the data from a sending network element (104), and wherein the sending port is configured to forward the data to the next network element.

3. The network switching device according to claim 1, in, The next network element includes a switch (188) or an end system (190).

4. The network switching device according to claim 1, in, The processing portion includes a single path processing portion.

5. The network switching device according to claim 4, in, The processing portion is also configured to route the data to the second path and store the data.

6. The network switching device according to claim 1, in, One or more of the first voting elements are further configured to: verifying the second copy of the data by comparing one or more of the results of the checksum of each first path (220, 240), comparing the second copy of the data of each first path, comparing the timestamp of each first path (212, 232), comparing the protection generated by each first path, or any combination thereof, and At least one of the second copies determined to match each other and be valid is sent to the processing part as valid data (242).

7. The network switching device according to claim 6, in, The processing section is further configured to embed path information (244) into the valid data and store the valid data together with the embedded path information.

8. The network switching device according to claim 1, in, Each of the second paths comprises: an error detection check element (252, 272) configured to perform a cyclic redundancy check (262, 282) using the protection to verify data integrity and timestamp integrity of the third copy of the data after processing and storage by the processing portion; a path verification element (254, 274) configured to verify path information (244) associated with the third copy of the data; an output queue verification element (256) configured to verify the position (266, 286) of the third copy of the data in the output queue (260, 280); and A delay checking element (258, 278) is configured to check a time delay (268, 288) based on a timestamp (212, 232) associated with the third copy of the data.

9. The network switching device according to claim 8, in, One or more of the second voting elements are also configured to verify one or more of the fourth copies of the data based at least in part on the cyclic redundancy check, the position in the output queue, the time delay of each of the second paths, and whether at least a majority of the fourth copies of the data match each other.

10. A method (300) of operating a network switch, the method include: Receiving (302) data (130) via a receiving port (110); providing (304) the first copy (132, 134) of the data to a plurality of parallel first paths (112, 114); At each of the first paths, performing a check (306) on a first copy (132, 134) of the data and generating a protection (140, 142) for the first copy of the data; cross-checking (308) a second copy (152, 154) of the data received from the first path; In response to the cross-check of the second copies of the data indicating that at least some of the second copies match each other and are valid, processing (310) valid data (242) from at least one of the second copies of the data that matches each other and is valid at a processing portion (118); providing (312) a third copy (162, 164) of the data to a plurality of parallel second paths (122, 124); At each of the plurality of parallel second paths, performing (314) a plurality of checks (166, 168, 170, 172), the plurality of checks including a check based on the protection (166, 168, 170 or 172); cross-checking (316) a fourth copy (182, 184) of the data received from the second path; and In response to cross-checking the fourth copy of the data, selectively sending (318) one or more of the fourth copies of the data to a next network element (106) via a transmit port (128), Wherein, each of the first paths comprises: a timestamp element (202, 222) configured to apply a timestamp (212, 232) to the first copy of the data; a frame filter (204, 224) configured to apply a size constraint (214, 234) to the first copy of the data; a frame policy element (206, 226) configured to apply a bandwidth constraint (216, 236) to the first copy of the data; and An error detection generation element (208, 228) is configured to generate the protection, wherein the protection includes cyclic redundancy check data (218, 238) based on the first copy of the data and the timestamp to verify integrity after processing by the processing portion.

11. The method according to claim 10, in, Processing the valid data includes generating path information (244) and embedding the path information (244) into the valid data.

12. The method according to claim 11, in, Processing of the valid data is performed at a single processing section of the network switch.

13. The method according to claim 10, in, Generating the protection includes generating cyclic redundancy check data (218, 238).

14. The method according to claim 10, in, The data is received at the receiving port from a sending network element (104).

15. A computer readable medium (530) storing instructions (534) executable by a processor (520) to initiate, perform or control an operation, the operation include: Receiving (302) data (130) via a receiving port (110); providing (304) the first copy (132, 134) of the data to a plurality of parallel first paths (112, 114); At each of the first paths, performing a check (306) on the first copy (132, 134) of the data and generating a protection (140, 142) for the first copy of the data; cross-checking (308) a second copy (152, 154) of the data received from the first path; In response to the cross-check of the second copies of the data indicating that at least some of the second copies match each other and are valid, processing (310) valid data (242) from at least one of the second copies of the data that matches each other and is valid at a processing portion (118); providing (312) a third copy (162, 164) of the data to a plurality of parallel second paths (122, 124); performing (314) a plurality of checks (166, 168, 170, 172) on a third copy (162, 164) of the data at each of the plurality of parallel second paths, the plurality of checks including a check (166, 168, 170 or 172) based on the protection; cross-checking (316) a fourth copy (182, 184) of the data received from the second path; and In response to cross-checking the fourth copy of the data, selectively sending (318) one or more of the fourth copies of the data to a next network element (106) via a transmit port (128), Wherein, each of the first paths comprises: a timestamp element (202, 222) configured to apply a timestamp (212, 232) to the first copy of the data; a frame filter (204, 224) configured to apply a size constraint (214, 234) to the first copy of the data; a frame policy element (206, 226) configured to apply a bandwidth constraint (216, 236) to the first copy of the data; and An error detection generation element (208, 228) is configured to generate the protection, wherein the protection includes cyclic redundancy check data (218, 238) based on the first copy of the data and the timestamp to verify integrity after processing by the processing portion.

16. The computer readable medium of claim 15, in, Processing the valid data includes generating path information (244) and embedding the path information (244) into the valid data.

17. The computer readable medium of claim 16, in, The processing of the valid data is performed at a single processing section of the network switch.

18. The computer readable medium of claim 15, in, Generating the protection includes generating cyclic redundancy check data (218, 238).

19. The computer readable medium of claim 15, in, The data is received at the receiving port from a sending network element (104).