A path determination method, device, equipment and storage medium

CN113810273BActive Publication Date: 2024-10-15SANECHIPS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010548819.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-16
Publication Date
2024-10-15
Estimated Expiration
2040-06-16

AI Technical Summary

Technical Problem

但是这种方式增加了交换路径上的传输延时以及交换网拥塞发生概率

Benefits of technology

[0009] According to the path determination method, device, equipment and storage medium proposed by this application, when the current working mode is the first mode, if the service box where the recipient of the information to be transmitted is located is consistent with the service box where the switch register indicates the transmission status, then according to the The routing information of the recipient of the information to be transmitted determines the effective path; when the current working mode is the second mode, if the recipient of the information to be transmitted is in this service box and the switch register indicates that the transmission status is the transmission state of this frame, then according to the The information transmission mode and receiver of the transmitted information determine the effective path. It can be seen that this technical solution determines the effective path by judging whether the service box where the receiver of the information to be transmitted is consistent with the service box where the switch register indicates the transmission status, avoiding that all the information to be transmitted must pass through the central switching frame to reach the receiver, reducing the number of central The connection link between the switching frame and the service frame can reduce the probability of network congestion and improve the robustness of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113810273B_ABST
    Figure CN113810273B_ABST
Patent Text Reader

Abstract

The present application discloses a path determination method, device, equipment and storage medium, the method comprising: in the current working mode being the first mode, if the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission status, then determining the effective path according to the routing information of the receiver of the information to be transmitted; in the current working mode being the second mode, if the receiver of the information to be transmitted is in this service frame and the switch register indicates the transmission status is the transmission status of this frame, then determining the effective path according to the information transmission mode and the receiver of the information to be transmitted. The present application scheme realizes determining the effective path by judging whether the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission status, avoiding that all information to be transmitted must pass through the central switching frame to reach the receiver, reducing the connection link between the central switching frame and the service frame, reducing the probability of network congestion, and improving the robustness of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of packet data switching, and in particular to a path determination method, device, equipment and storage medium. Background Art

[0002] In a three-stage clos (multi-stage circuit switching network) switching network, the data cells sent by the switch access chip (SE) pass through the switch network chip (SC) three times. Figure 1 A three-level clos switching network structure diagram is provided, such as Figure 1 As shown, the dotted line is the exchange of the same service frame, and the solid line is the exchange of different service frames. The switch access chip (SE) and the line card frame (SC13 mode) constitute the service frame. The SC13 mode means that the switch network chip has both the SC1 mode and the SC3 mode, and can switch between the two modes to work. SC13 (SC1) indicates that the switch network chip is currently working in the SC1 mode, and SC13 (SC3) indicates that the switch network chip is currently working in the SC3 mode. The traffic exchange from the service frame to the central switch frame and then to the service frame is completed through the three-level exchange mode, and finally reaches the destination switch access chip. Among them, the three-level exchange mode includes the SC1 mode, the SC2 mode and the SC3 mode. The transmission process of information from the switch access chip SE#0_0 through the switch network chip SC1 is the first-level exchange, the process of receiving and sending information by the switch network chip SC2 is the second-level exchange, and the process of transmitting information from the switch network chip SC3 to the destination switch chip SE#0_N is the third-level exchange. The data transmitted through the SC1 mode is the data transmitted under the first-level switching, the data transmitted through the SC2 mode is the data transmitted under the second-level switching, and the data transmitted through the SC3 mode is the data transmitted under the third-level switching. When performing the first-level switching and the third-level switching, the switching network chip is configured in the SC13 mode. They belong to the same physical chip but have different logics, that is, the same physical chip is configured with the SC1 mode and the SC3 mode at the same time; when performing the second-level switching, the switching network chip is configured in the SC2 mode.

[0003] In traditional three-level clos switching, the switching path from source SE traffic to destination SE is: source SE>SC1>SC2>SC3>destination SE, and data is exchanged through this switching path. However, this method increases the transmission delay on the switching path and the probability of switching network congestion. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to propose a path determination method, apparatus, device and storage medium, aiming to achieve the function of determining a valid path by judging whether the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission status, thereby reducing transmission delay and reducing the probability of network congestion.

[0005] To achieve the above-mentioned purpose, an embodiment of the present application provides a path determination method, which includes the following steps: when the current working mode is the first mode, if the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission status, then determine the effective path according to the routing information of the receiver of the information to be transmitted; when the current working mode is the second mode, if the receiver of the information to be transmitted is in this service frame and the switch register indicates that the transmission status is the transmission status of this frame, then determine the effective path according to the information transmission mode and the receiver of the information to be transmitted.

[0006] To achieve the above-mentioned purpose, an embodiment of the present application further provides a path determination device, which includes: a first path determination module, which is set to be in the first working mode at the current working mode, if the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission status, then determine the effective path according to the routing information of the receiver of the information to be transmitted; a second path determination module, which is set to be in the second working mode at the current working mode, if the receiver of the information to be transmitted is in this service frame and the switch register indicates that the transmission status is the transmission status of this frame, then determine the effective path according to the information transmission mode and the receiver of the information to be transmitted.

[0007] To achieve the above-mentioned purpose, an embodiment of the present application also provides a path determination device, which includes: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned path determination method.

[0008] To achieve the above-mentioned purpose, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned path determination method is implemented.

[0009] The path determination method, device, equipment and storage medium proposed in the present application, when the current working mode is the first mode, if the service box where the receiver of the information to be transmitted is located is consistent with the service box where the switch register indicates the transmission status, then the effective path is determined according to the routing information of the receiver of the information to be transmitted; when the current working mode is the second mode, if the receiver of the information to be transmitted is in this service box and the switch register indicates the transmission status is the transmission status of this box, then the effective path is determined according to the information transmission mode and the receiver of the information to be transmitted. It can be seen that the present technical solution determines the effective path by judging whether the service box where the receiver of the information to be transmitted is located is consistent with the service box where the switch register indicates the transmission status, thereby avoiding that all information to be transmitted must pass through the central switching box to reach the receiver, reducing the connection link between the central switching box and the service box, thereby achieving the purpose of reducing the probability of network congestion and improving the robustness of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 It is a three-level clos switching network structure block diagram provided by the prior art;

[0011] Figure 2 is a flow chart of a path determination method provided by an embodiment of the present application;

[0012] Figure 3 This is a schematic diagram of determining an effective path for information to be transmitted provided by an embodiment of the present application;

[0013] Figure 4 This is a schematic diagram of path delay compensation provided by an embodiment of the present application;

[0014] Figure 5 is a structural schematic diagram of a path determination device provided in an embodiment of the present application;

[0015] Figure 6 It is a structural diagram of a path determination device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0016] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0017] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no special meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0018] like Figure 2 As shown, this embodiment provides a path determination method, which is applied to a switching network chip. The method includes step S110 and step S120:

[0019] Step S110: when the current working mode is the first mode, if the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission state, then determine the valid path according to the routing information of the receiver of the information to be transmitted.

[0020] With the development of packet data switching technology, in the traditional three-level switching network, data information needs to go through the data exchange process from the business frame to the central switching frame and then to the business frame during transmission, and finally reaches the information receiver. For the same information receiver (destination SE, switching access chip), the information it receives may come from the same business frame or from different business frames. All cells arriving at the information receiver (destination SE) must pass through the central switching frame. Therefore, when the central switching frame sends information, the huge amount of information causes network congestion problems.

[0021] Based on this, the path determination method proposed in the present application supports the CPU to control the switching network chip to turn on and off the switching of the frame and the cross-frame switching by adding a 1-bit switch register to the switching network chip. The valid path is determined by judging whether the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission status. The valid path may pass through the central switching frame or not, avoiding that all the information to be transmitted must pass through the central switching frame to reach the receiver, reducing the connection links between the central switching frame and the service frame, thereby achieving the purpose of reducing the probability of network congestion.

[0022] In this embodiment, the first mode refers to the SC1 mode, and the transmission data passing through the SC1 mode is the transmission data of the first level exchange, and the second mode refers to the SC3 mode, and the transmission data passing through the SC3 mode is the transmission data of the third level exchange. The SC1 mode and the SC3 mode belong to the same physical chip, but the logic is different. This switching network chip can switch between the SC1 mode and the SC3 mode. The switching network chip refers to the physical chip that realizes the information exchange function in the switching network, and the central switching chip refers to the switching network chip in the central switching frame.

[0023] In this embodiment, an n-bit link indication register is added, and 0 and 1 are used to indicate whether it is a local frame link or an inter-frame link. Whether 0 or 1 is used to indicate the local frame link is not limited in this application.

[0024] In this embodiment, the switch register is 0 or 1, the switch register is 1, indicating that the transmission state is local frame transmission, and the switch register is 0, indicating that the transmission state is cross-frame transmission; or the switch register is 0, indicating that the transmission state is local frame transmission, and the switch register is 1, indicating that the transmission state is cross-frame transmission; or other representation methods can be selected to represent the transmission state, which is not limited in this application. The current working mode is the first mode, and the switching network chip receives the information to be transmitted sent by the sender of the information to be transmitted. The information to be transmitted includes the destination, that is, the receiver of the information to be transmitted, and performs a routing information table lookup according to the receiver of the information to be transmitted to determine the routing information of the receiver. The link indication register and the routing information table lookup result are ANDed to determine whether a valid path exists, that is, the link transmission of this frame or the cross-frame link transmission is performed according to the path information indicated by the link indication register to determine whether the service frame where the receiver is located is this service frame or another service frame. If the service frame where the receiver is located is consistent with the service frame where the switch register indicates the transmission state, the valid path is determined according to the routing table lookup result.

[0025] In one embodiment, if the receiver of the information to be transmitted is in the current business frame and the switch register indicates that the transmission state is the current frame transmission state, then the effective path of the current frame transmission is determined according to the routing information of the receiver of the information to be transmitted. If the receiver of the information to be transmitted is in the current business frame, the information to be transmitted only needs to be exchanged in the current frame, and there is no need to send the information to be transmitted to the central switching chip in the central switching frame. If the switch register state is the current frame transmission state at this time, the information to be transmitted is sent to the SC3 mode of the current switching network chip according to the effective path. Since the SC1 mode and the SC3 mode are integrated on the same switching chip, the same switching network chip needs to switch modes to complete different functions. At this time, the current business frame transmission of the information to be transmitted does not need to send information to the central switching chip, which reduces the current frame exchange link between the central switching frame and the business frame, reduces the probability of congestion in the central switching frame, and thus reduces the congestion of the switching network.

[0026] In one embodiment, the receiver of the information to be transmitted is in another service frame and the switch register indicates that the transmission state is a cross-frame transmission state, then the effective path for cross-frame transmission is determined according to the routing information of the receiver of the information to be transmitted. The receiver of the information to be transmitted is in another service frame, and the information to be transmitted at this time needs to be transmitted across frames. At this time, the effective path needs to pass through the central switching chip, that is, the information to be transmitted needs to be sent to the central switching chip. If the switch register state is cross-frame transmission at this time, the information to be transmitted is sent to the corresponding central switching chip according to the effective path, and the information is sent to the switching network chip in SC3 mode through the central switching chip. The switching network chip sends the information to be transmitted to the corresponding destination chip, that is, the information receiver, thereby completing the function of determining the effective path. The working mode of the central switching chip is SC2 mode when performing data transmission, and there is only cross-frame switching, and its working principle and process do not need to be changed.

[0027] In this embodiment, the switch register state indicates whether the transmission type executed at this time is local frame transmission or cross-frame transmission. If the switch register state is local frame transmission, the cross-frame link is shielded at this time, and only local frame transmission is performed, that is, only the receiving party in the local service frame can send the information to be transmitted, otherwise the information to be transmitted is stopped, and the transmission fault information is reported. If the switch register state is cross-frame transmission, the local frame link is shielded at this time, and only cross-frame transmission is performed, that is, only the receiving party in another service frame can send the information to be transmitted, otherwise the information to be transmitted is stopped, and the transmission fault information is reported.

[0028] The information transmission mode of the information to be transmitted may be unicast or multicast. For unicast and multicast, it is only necessary to find the corresponding receiver. After determining the receiver, the routing table is searched to determine the routing information. Then, according to the local frame transmission and cross-frame transmission indicated by the link indication register, it is determined whether the receiver is in the local business frame or another business frame. The effective path is determined according to the transmission status indicated by the switch register and the routing information of the receiver.

[0029] Step S120: When the current working mode is the second mode, if the receiver of the information to be transmitted is in the current service frame and the switch register indicates that the transmission state is the current frame transmission state, a valid path is determined according to the information transmission mode and the receiver of the information to be transmitted.

[0030] In this embodiment, the current working mode is the second mode, that is, the current working mode of the switching network chip is SC3. At this time, the information to be transmitted received by the switching network chip may be the information to be transmitted from this business frame, or it may be sent from another business frame to the central switching chip, and then sent by the central switching chip. However, no matter whether the receiver of the information to be transmitted is in this business frame or another business frame, the switching network chip will send the information to be transmitted to the receiver in this business frame, that is, the switching network chip in the SC3 mode only performs local frame transmission and shields the cross-frame link. If the receiver of the information to be transmitted is in this business frame, and the switch register indicates that the transmission state is local frame transmission at this time, determine the valid path according to the information transmission mode and the receiver of the information to be transmitted, and send the information to be transmitted according to the valid path. If the receiver of the information to be transmitted is in another business frame at this time, report the transmission fault information, because the information to be transmitted at this time must be transmitted to this business frame. If the switch register indicates that the transmission state is cross-frame transmission at this time, shield the cross-frame link and do not send any information.

[0031] Step S110 and step S120 are methods executed correspondingly in two different working modes. It can be understood that there is no order of execution.

[0032] For the situation where the current working mode is the second mode, if the receiver of the information to be transmitted is in this service frame and the switch register indicates that the transmission state is the transmission state of this frame, the effective path is determined according to the information transmission mode and the receiver of the information to be transmitted. In one embodiment: if the information transmission mode is a unicast mode, the effective path of the transmission of this frame is determined according to the routing information of the receiver of the information to be transmitted; if the information transmission mode is a multicast mode, the effective path of the transmission of this frame is determined according to the frame number to which the receiver of the information to be transmitted belongs.

[0033] For information to be transmitted in unicast mode, the routing table lookup unit finds the routing information of the receiver, determines the valid path, and sends the information to be transmitted to the corresponding receiver according to the valid path. For information to be transmitted in multicast mode, the receiver and the frame number to which the receiver belongs are determined, and the valid path is determined according to the frame number. The information to be transmitted is sent to the receiver, that is, the destination chip, according to the valid path. In multicast mode, the adjacent device numbers across frames are shielded, that is, the frame numbers of other service frames and the included switching network chips.

[0034] In one embodiment, for the situation where the current working mode is the second mode, if the receiver of the information to be transmitted is in this business frame and the switch register indicates that the transmission state is the transmission state of this frame, if the sender of the information to be transmitted is in another business frame, then the timestamp of the information to be transmitted is increased by delay compensation, and the effective path is determined according to the information transmission mode and the receiver of the information to be transmitted.

[0035] The information to be transmitted in this frame transmission and across frames transmission converge in the SC3 mode of the switching network chip. Since the information can be sent to the receiver without passing through the central switching frame, while the cross-frame transmission needs to pass through the central switching frame to complete the information transmission, the path of this frame transmission becomes shorter and the time becomes shorter than that of the cross-frame transmission, resulting in path delay between the information to be transmitted in this frame and the cross-frame transmission. Therefore, it is necessary to add delay compensation to the information to be transmitted that has undergone cross-frame transmission in the information to be transmitted that is converged in the SC3 mode. That is, when the sender of the information to be transmitted is in another business frame, the information to be transmitted at this time is information that has undergone cross-frame transmission. The timestamp of the information to be transmitted is increased by delay compensation to ensure that it is the same as the time of the information to be transmitted transmitted in this business frame, so that the information transmitted in this frame and the information transmitted across frames can compete fairly for output. While improving the transmission path of this frame, the present application adds delay compensation to the cross-frame transmission, so that the time of the transmission in this frame and the cross-frame transmission are the same, ensuring that the transmission in this frame and the cross-frame transmission can compete fairly for output.

[0036] In one embodiment, the delay compensation is static compensation or dynamic compensation.

[0037] In one embodiment, if the delay compensation is static compensation, the timestamp of the information to be transmitted is increased by a preset time; if the delay compensation is dynamic compensation, the timestamp of the information to be transmitted is increased by a dynamic time, and the dynamic time is determined according to routing information.

[0038] The preset time can be obtained by experimental measurement in advance. The average value, median value, etc. are taken based on multiple experimental data to determine a time value as the preset time. Each time the information to be transmitted is sent to another service frame, the preset time is added to its timestamp. Dynamic time is a dynamically changing time. The value calculated each time may be different. It is calculated in real time during the transmission of the information to be transmitted and dynamically compensated according to the calculation result. The path is determined based on the routing information when the information to be transmitted is transmitted. At this time, the path is the path that passes through the central switching chip. Compared with the path directly transmitted in this frame, there is a path difference. The time difference is calculated based on the difference in the path, and the time difference is added to the timestamp of the information to be transmitted as the dynamic time.

[0039] In one embodiment, the current working mode is the first mode, if the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission status, then the valid path is determined according to the routing information of the receiver of the information to be transmitted; the current working mode is the second mode, if the receiver of the information to be transmitted is in this service frame and the switch register indicates that the transmission status is the transmission status of this frame, then the valid path is determined according to the information transmission mode and the receiver of the information to be transmitted; if the valid path does not exist, the transmission fault information is reported.

[0040] If a valid path exists, the information to be transmitted is sent according to the valid path. If a valid path does not exist, the information to be transmitted is stopped from being sent, and transmission failure information is reported. The transmission failure information may be a path search error, which reminds the operator or user of a path determination error.

[0041] In this embodiment, Figure 3 A schematic diagram for determining an effective path for information to be transmitted is provided, such as Figure 3As shown, the solid line indicates cross-frame switching, and the dotted line indicates local frame switching. When the source switching access chip SE#0_0 reaches the destination switching access chip SE#0_N through local frame switching, it only needs to pass through the switching network chip (SC13) and does not need to pass through the central switching frame. When the switching access chip SE#N_0 reaches the destination switching access chip SE#0_N through cross-frame switching, it needs to pass through the central switching frame, and the central switching frame sends the information to be transmitted to the switching network chip, and the switching network chip finally sends the information to be transmitted to the destination switching access chip SE#0_N. In the process of the information to be transmitted from the source switching access chip SE#0_0 to the destination switching access chip SE#0_N, the switching network chip works in both SC1 mode and SC3 mode. In the figure, the switching network chip SC13 (SC1 / SC3) indicates that when the information to be transmitted of this service frame is transmitted, the same switching network chip is configured to work in SC1 mode or SC3 mode. SC13 (SC3) indicates that the information to be transmitted is working in SC3 mode, and SC13 (SC1) indicates that the information to be transmitted is working in SC1 mode. The switching network chip SC13 in the figure can be one or more. In this embodiment, it is divided into multiple chips only to describe and distinguish the current working mode, and does not represent multiple switching network chips. It can be used as one switching network chip, and the embodiment of the present application does not limit this.

[0042] In this embodiment, Figure 4 A schematic diagram of path delay compensation is provided, such as Figure 4 As shown. In the same destination switching access chip SE#0_2, the source switching access chip SE#0_1 is exchanged in this frame and the source switching access chip SE#2_1 is transmitted across frames and converged in the SC3 mode. Since the optimized transmission in this frame does not pass through the central switching frame, the path delay is shorter than the path delay of the cross-frame transmission. During the switching process, the information carries a timestamp mark. There is a timestamp difference between the cross-frame transmission and the transmission in this frame that converge in the SC3 mode. The difference ΔT is obtained through preliminary experimental measurements. The timestamp difference ΔT is added to the cross-frame transmission to complete the path delay compensation, or the path delay compensation is completed by using dynamic compensation, so that the transmission in this frame and the cross-frame transmission can compete fairly for output.

[0043] The path determination method of this embodiment, when the current working mode is the first mode, if the receiver of the information to be transmitted is in this business frame and the switch register state is the transmission state of this frame or the receiver of the information to be transmitted is in another business frame and the switch register state is the cross-frame transmission state, then the effective path is determined according to the routing information of the receiver of the information to be transmitted, and when the current working mode is the second mode, if the receiver of the information to be transmitted is in this business frame and the switch register state is the transmission state of this frame, then the effective path is determined according to the information transmission mode and the receiver of the information to be transmitted. By setting the switch register, using the switch register to determine whether the current transmission is in this frame or across frames, the information transmitted in this frame and the information transmitted across frames are distinguished to determine the effective path and transmit them respectively, which reduces the connection path between the business frame and the central switching frame. Compared with the switching path of the sending chip and the destination chip in the same business frame in the prior art, the switching of the frame in the method of this application reduces the switching path delay, reduces the probability of congestion in the central switching frame from the algorithm, and improves the robustness of the system.

[0044] The embodiment of the present application also provides a path determination device. Figure 5 FIG. 1 is a schematic diagram of a structure of a path determination device provided by an embodiment. Figure 5 As shown, the path determination device includes: a first path determination module 21 and a second path determination module 22 .

[0045] In one embodiment, the first path determination module 21 is set to the current working mode being the first mode. If the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission status, then the valid path is determined according to the routing information of the receiver of the information to be transmitted. The second path determination module 22 is set to the current working mode being the second mode. If the receiver of the information to be transmitted is in this service frame and the switch register indicates the transmission status is the transmission status of this frame, then the valid path is determined according to the information transmission mode and the receiver of the information to be transmitted.

[0046] The path determination device of this embodiment sets a switch register, uses the switch register to determine whether the current frame transmission is in this frame or in an inter-frame transmission, distinguishes the information transmitted in this frame from the information transmitted across the frame, and determines the effective paths respectively for transmission, thereby reducing the connection path between the service frame and the central switching frame. Compared with the switching path in the prior art where the sending chip and the destination chip are in the same service frame, the frame switching in the method of the present application reduces the switching path delay, avoids the probability of congestion in the central switching frame, and improves the robustness of the system.

[0047] In one embodiment, the first path determination module 21 is configured to: if the receiver of the information to be transmitted is in the current service frame and the switch register indicates that the transmission state is the current frame transmission state, then determine the effective path for the current frame transmission according to the routing information of the receiver of the information to be transmitted.

[0048] In one embodiment, the first path determination module 21 is configured to: if the receiver of the information to be transmitted is in another service frame and the switch register indicates that the transmission state is an inter-frame transmission state, then determine a valid path for inter-frame transmission according to the routing information of the receiver of the information to be transmitted.

[0049] In one embodiment, the second path determination module 22 includes:

[0050] The first path determination unit is set to the unicast mode for the information transmission mode, and determines the effective path for the current frame transmission according to the routing information of the receiver of the information to be transmitted.

[0051] The second path determination unit is configured to determine a valid path for transmission in the current frame according to the frame number of the receiver of the information to be transmitted, if the information transmission mode is a multicast mode.

[0052] In one embodiment, the device further comprises:

[0053] The compensation module is configured to increase the delay compensation to the timestamp of the information to be transmitted if the sender of the information to be transmitted is in another service frame.

[0054] In one embodiment, the compensation module includes:

[0055] The static compensation unit is configured to increase the timestamp of the information to be transmitted by a preset time if the delay compensation is static compensation.

[0056] The dynamic compensation unit is configured to increase the timestamp of the information to be transmitted by a dynamic time if the delay compensation is dynamic compensation, and the dynamic time is determined according to the routing information.

[0057] In one embodiment, the device further comprises:

[0058] The fault reporting module is configured to report transmission fault information if the valid path does not exist.

[0059] The path determination device proposed in this embodiment and the path determination method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to any of the above embodiments, and this embodiment has the same beneficial effects as executing the path determination method.

[0060] The present application also provides a path determination device. Figure 6FIG. 1 is a schematic diagram of a structure of a path determination device provided by an embodiment. Figure 6 As shown, the device includes a processor 30, a memory 31, an input device 32 and an output device 33; the number of processors 30 in the device can be one or more. Figure 6 A processor 30 is taken as an example; the processor 30, memory 31, input device 32 and output device 33 in the device can be connected by a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0061] The memory 31, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the row-level security implementation method in the embodiment of the present invention (for example, the first path determination module 21 and the second path determination module 22 in the path determination device). The processor 30 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 31, that is, implements the above-mentioned row-level security implementation method.

[0062] The memory 31 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 31 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 31 may further include a memory remotely arranged relative to the processor 30, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0063] The input device 32 may be used to receive input digital or character information and generate key signal input related to user settings and function control. The output device 33 may include a display device such as a display screen.

[0064] The embodiment of the present application further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to perform a path determination method when executed by a computer processor, the method comprising:

[0065] In the current working mode, if the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission state, then a valid path is determined according to the routing information of the receiver of the information to be transmitted;

[0066] The current working mode is the second mode. If the receiver of the information to be transmitted is in this service frame and the switch register indicates that the transmission state is the transmission state of this frame, a valid path is determined according to the information transmission mode and the receiver of the information to be transmitted.

[0067] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided by an embodiment of the present invention are not limited to the method operations described above, and can also execute related operations in the path determination implementation method provided by any embodiment of the present invention.

[0068] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0069] It is worth noting that in the embodiment of the above-mentioned path determination device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0070] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A path determination method, characterized in that: A switching network chip applied to a three-level clos switching network, the method comprising: In the current working mode, if the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission state, then a valid path is determined according to the routing information of the receiver of the information to be transmitted; The current working mode is the second mode, if the receiver of the information to be transmitted is in the current service frame and the switch register indicates that the transmission state is the current frame transmission state, then the valid path is determined according to the information transmission mode of the information to be transmitted and the receiver, and the information transmission mode is unicast or multicast; The switch register indicates that the transmission status includes the cross-frame transmission status and the local frame transmission status; when the switch register indicates that the transmission status is the cross-frame transmission status, the local frame link is shielded, and the cross-frame transmission is performed, and the information to be transmitted is sent to the corresponding central switching chip according to the effective path, and the information to be transmitted is sent to the switching network chip in the SC3 mode through the central switching chip, and the switching network chip sends the information to be transmitted to the corresponding recipient; when the switch register indicates that the transmission status is the local frame transmission status, the cross-frame link is shielded, and the local frame transmission is performed; The first mode is the SC1 mode, and the transmission data passing through the SC1 mode is the transmission data of the first level exchange; the second mode is the SC3 mode, and the transmission data passing through the SC3 mode is the transmission data of the third level exchange.

2. The method according to claim 1, characterized in that If the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission state, determining a valid path according to the routing information of the receiver of the information to be transmitted includes: If the receiver of the information to be transmitted is in the current service frame and the switch register indicates that the transmission state is the current frame transmission state, then the effective path for the current frame transmission is determined according to the routing information of the receiver of the information to be transmitted.

3. The method according to claim 1, characterized in that: If the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission state, determining a valid path according to the routing information of the receiver of the information to be transmitted includes: If the receiver of the information to be transmitted is in another service frame and the switch register indicates that the transmission state is an inter-frame transmission state, a valid path for inter-frame transmission is determined according to the routing information of the receiver of the information to be transmitted.

4. The method according to claim 1, characterized in that: The determining of a valid path according to the information transmission mode of the information to be transmitted and the receiving party includes: If the information transmission mode is a unicast mode, a valid path for transmission of this frame is determined according to the routing information of the receiver of the information to be transmitted; If the information transmission mode is a multicast mode, a valid transmission path of the current frame is determined according to the frame number of the receiver of the information to be transmitted.

5. The method according to any one of claims 1 to 4, characterized in that: Before determining a valid path according to the information transmission mode and the receiver of the information to be transmitted, the method further includes: If the sender of the information to be transmitted is in another service frame, delay compensation is added to the timestamp of the information to be transmitted.

6. The method according to claim 5, characterized in that Adding delay compensation to the timestamp of the information to be transmitted includes: If the delay compensation is static compensation, the timestamp of the information to be transmitted is increased by a preset time; If the delay compensation is dynamic compensation, the timestamp of the information to be transmitted is increased by a dynamic time, and the dynamic time is determined according to routing information.

7. The method according to claim 1, characterized in that Also includes: If the valid path does not exist, report transmission failure information.

8. A path determination device, characterized in that: A switching network chip used in a three-level clos switching network, the device comprising: A first path determination module is set to a first working mode, if the service frame where the receiver of the information to be transmitted is located is consistent with the service frame where the switch register indicates the transmission state, then determine a valid path according to the routing information of the receiver of the information to be transmitted; A second path determination module is set to a current working mode of the second mode, if the receiver of the information to be transmitted is in the current service frame and the switch register indicates that the transmission state is the current frame transmission state, then a valid path is determined according to the information transmission mode of the information to be transmitted and the receiver, and the information transmission mode is unicast or multicast; The switch register indicates that the transmission status includes the cross-frame transmission status and the local frame transmission status; when the switch register indicates that the transmission status is the cross-frame transmission status, the local frame link is shielded, and the cross-frame transmission is performed, and the information to be transmitted is sent to the corresponding central switching chip according to the effective path, and the information to be transmitted is sent to the switching network chip in the SC3 mode through the central switching chip, and the switching network chip sends the information to be transmitted to the corresponding recipient; when the switch register indicates that the transmission status is the local frame transmission status, the cross-frame link is shielded, and the local frame transmission is performed; The first mode is the SC1 mode, and the transmission data passing through the SC1 mode is the transmission data of the first level exchange; the second mode is the SC3 mode, and the transmission data passing through the SC3 mode is the transmission data of the third level exchange.

9. A path determination device, characterized in that: The device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement a path determination method as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a path determination method as described in any one of claims 1 to 7 is implemented.