Scan data transmission method, device, computer equipment and storage medium
By detecting the faulty communication link and adjusting to the backup link, the problem of inefficient repair when the data transmission channel fails in the computed tomography equipment is solved, and rapid repair and efficient transmission are achieved.
Patent Information
- Application Number
- CN202110913777.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-10
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-08-10
AI Technical Summary
When the data transmission channel in the computed tomography equipment fails, the repair efficiency of the existing technology is low and spare parts need to be replaced, resulting in a long fault repair time.
By detecting the faulty communication link, obtain the matching backup communication link identifier, adjust the communication connection between the data combining processing unit and the data sending end, and use the backup link to replace the faulty link to ensure the transmission of scanned data.
Quickly repair communication link failures, reduce the impact of failures, and improve scanning data transmission efficiency.
Smart Images

Figure CN113905138B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of image data transmission, and in particular to a method, device, computer equipment and storage medium for transmitting scanned data. Background Art
[0002] During the imaging process of a computer tomography device, multiple detectors first collect photocurrents and convert them into digital signals, and then transmit the digital signals to a data combining processing unit (such as a data processing board) through multiple fixed data transmission channels that correspond to multiple detectors one by one, and then perform image reconstruction to obtain medical images. However, once any of the data transmission channels fails, the computer tomography device will not be able to continue scanning.
[0003] In traditional technology, in order to repair a faulty data transmission channel, it is usually necessary to deploy spare parts and replace and debug the entire data transmission channel. However, using traditional technology, the fault repair time is long and the repair efficiency is low. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for transmitting scan data that can improve the efficiency of fault repair in order to solve the above technical problems.
[0005] A method for transmitting scan data is applied to a data combining processing unit in a computer tomography device, wherein the data combining processing unit establishes a communication connection with a data transmitting end through multiple communication links; the method comprises:
[0006] If it is detected that there is a faulty communication link among the multiple communication links, obtaining an identifier of a backup communication link matching the faulty communication link, wherein the backup communication link is connected to the data combining processing unit;
[0007] According to the identifier of the backup communication link, the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end is adjusted to a second communication link group, wherein the first communication link group is composed of the faulty communication link and the interconnection link between the faulty communication link and the backup communication link, and the second communication link group is composed of the backup communication link and the interconnection link between the faulty communication link and the backup communication link;
[0008] Receive scanning data sent by the data sending end through the second communication link group, wherein the scanning data is used to obtain a medical image of the computer tomography device through image reconstruction after merging.
[0009] In one embodiment, obtaining an identifier of a standby communication link matching the failed communication link includes:
[0010] Obtaining an identifier of the most edge standby communication link on the data combining processing unit;
[0011] The identifier of the outermost backup communication link is determined as the identifier of the backup communication link that matches the faulty communication link.
[0012] In one embodiment, obtaining an identifier of a standby communication link matching the failed communication link includes:
[0013] Obtaining an identifier of at least one standby communication link adjacent to the faulty communication link on the data combining processing unit;
[0014] An identifier of a backup communication link is selected from the identifiers of the at least one adjacent backup communication link and determined as the identifier of the backup communication link that matches the faulty communication link.
[0015] In one embodiment, obtaining an identifier of a standby communication link matching the failed communication link includes:
[0016] Obtaining identifiers of two closest standby communication links respectively determined on both sides of the faulty communication link on the data combining processing unit;
[0017] Calculating the number of links between the standby communication links corresponding to the identifiers of the two closest standby communication links and the faulty communication link;
[0018] The identifier of the backup communication link with the least number of links in the interval is determined as the identifier of the backup communication link matching the faulty communication link.
[0019] In one embodiment, the data sending end includes a detector in the computed tomography device.
[0020] In one of the embodiments, adjusting the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end to the second communication link group according to the identifier of the standby communication link includes:
[0021] According to the identifier of the backup communication link, the first communication link group that establishes communication connections between the data combining processing unit and the multiple detectors is moved sequentially in the direction from the faulty communication link to the backup communication link, until a communication connection is established with the last detector through the backup communication link corresponding to the identifier of the backup communication link, thereby obtaining a second communication link group that establishes communication connections with the multiple detectors.
[0022] In one of the embodiments, the data sending end includes a first data combining processing unit in the computed tomography device, and the first data combining processing unit is used to receive and combine scanning data sent by the detector in the computed tomography device; the data combining processing unit includes a second data combining processing unit in the computed tomography device.
[0023] A scanning data transmission device is used for a data combining processing unit in a computer tomography device, wherein the data combining processing unit establishes a communication connection with a data sending end through multiple communication links; the device comprises:
[0024] a processor, configured to obtain an identifier of a backup communication link matching the failed communication link if a failed communication link is detected among the multiple communication links, wherein the backup communication link is connected to the data combining processing unit;
[0025] A controller, configured to adjust, according to an identifier of the backup communication link, a first communication link group for establishing a communication connection between the data combining processing unit and the data sending end to a second communication link group, wherein the first communication link group is composed of the faulty communication link and an interconnection link between the faulty communication link and the backup communication link, and the second communication link group is composed of the backup communication link and an interconnection link between the faulty communication link and the backup communication link;
[0026] The I / O interface is used to receive the scanning data sent by the data sending end through the second communication link group, wherein the scanning data can obtain a reconstructed image of the computer tomography device through image reconstruction after being merged.
[0027] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0028] If it is detected that there is a faulty communication link among the multiple communication links, obtaining an identifier of a backup communication link matching the faulty communication link, wherein the backup communication link is connected to the data combining processing unit;
[0029] According to the identifier of the backup communication link, the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end is adjusted to a second communication link group, wherein the first communication link group is composed of the faulty communication link and the interconnection link between the faulty communication link and the backup communication link, and the second communication link group is composed of the backup communication link and the interconnection link between the faulty communication link and the backup communication link;
[0030] Receive scanning data sent by the data sending end through the second communication link group, wherein the scanning data is used to obtain a medical image of the computer tomography device through image reconstruction after merging.
[0031] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0032] If it is detected that there is a faulty communication link among the multiple communication links, obtaining an identifier of a backup communication link matching the faulty communication link, wherein the backup communication link is connected to the data combining processing unit;
[0033] According to the identifier of the backup communication link, the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end is adjusted to a second communication link group, wherein the first communication link group is composed of the faulty communication link and the interconnection link between the faulty communication link and the backup communication link, and the second communication link group is composed of the backup communication link and the interconnection link between the faulty communication link and the backup communication link;
[0034] Receive scanning data sent by the data sending end through the second communication link group, wherein the scanning data is used to obtain a medical image of the computer tomography device through image reconstruction after merging.
[0035] The above-mentioned scanning data transmission method, device, computer equipment and storage medium, if the communication link between the data combining processing unit in the computer tomography scanning device and its corresponding data sending end to establish a communication connection fails, then the identifier of the backup communication link matching the failed communication link is obtained, and according to the identifier of the backup communication link, the backup communication link is used to replace the failed communication link, so as to adjust the communication link between the data combining processing unit and the data sending end to establish a communication connection to ensure the transmission of the scanning data. The present application can quickly repair the communication link failure problem, reduce the adverse effects caused by the communication link failure, and is conducive to improving the overall transmission efficiency of the scanning data. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A diagram of an application environment of a method for transmitting scan data in an embodiment;
[0037] Figure 2 A schematic diagram of a flow chart of a method for transmitting scan data in one embodiment;
[0038] Figure 3 A schematic diagram of a flow chart of a supplementary solution for obtaining an identifier of a standby communication link matching a failed communication link in one embodiment;
[0039] Figure 4 for Figure 3 An application environment diagram for obtaining an identification of a standby communication link matching the failed communication link;
[0040] Figure 5 A schematic flow chart of a supplementary solution for obtaining an identifier of a standby communication link matching a failed communication link in another embodiment;
[0041] Figure 6 for Figure 5 An application environment diagram for obtaining an identification of a standby communication link matching the failed communication link;
[0042] Figure 7 A schematic flow chart of a supplementary solution for obtaining an identifier of a standby communication link matching a failed communication link in yet another embodiment;
[0043] Figure 8 for Figure 7 An application environment diagram for obtaining an identification of a standby communication link matching the failed communication link;
[0044] Fig. 9 is a diagram of an application environment when data transmission is normal in an embodiment;
[0045] Fig.10 is a diagram of an application environment when a data transmission failure occurs in an embodiment;
[0046] Fig.11 is a structural block diagram of a transmission device for scanning data in one embodiment;
[0047] Fig.12 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. 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.
[0049] The scanning data transmission method provided in this application can be applied to Figure 1In the application environment shown. Among them, the data combining processing unit 104 establishes a communication connection with the data sending end 102 through multiple communication links. Specifically, if the data combining processing unit 104 detects that there is a faulty communication link among the multiple communication links, the data combining processing unit 104 obtains the identifier of the backup communication link that matches the faulty communication link, wherein the backup communication link is connected to the data combining processing unit 104. Then, according to the identifier of the backup communication link, the data combining processing unit 104 adjusts the first communication link group for establishing a communication connection between the data combining processing unit 104 and the data sending end to the second communication link group, wherein the first communication link group consists of the faulty communication link and the interconnection link between the faulty communication link and the backup communication link, and the second communication link group consists of the backup communication link and the interconnection link between the faulty communication link and the backup communication link. Finally, the data combining processing unit 104 receives the scan data sent by the data sending end through the second communication link group. Optionally, the data sending end 102 can be a detector in a computer tomography device, and correspondingly, the data combining processing unit 104 can be the first data combining processing unit in the computer tomography device. In addition, the data sending end 102 may be a first data combining processing unit in the computer tomography device, and correspondingly, the data combining processing unit 104 may be a second data combining processing unit in the computer tomography device.
[0050] In one embodiment, Figure 2 As shown, a method for transmitting scan data is provided, and the method is applied to Figure 1 The data combining processing unit in the example is used as an example to illustrate, including the following steps:
[0051] Step S202: if it is detected that there is a faulty communication link among the multiple communication links, an identifier of a standby communication link matching the faulty communication link is obtained.
[0052] The standby communication link is connected to the data combining processing unit. Optionally, the standby communication link can be an idle interface pre-set on the data combining processing unit, or can be obtained by leading out the interface through a connector. For example, the standby communication link is an idle parallel-to-serial converter channel of a field programmable gate array (FPGA) processor in the original data processing board, or 1-2 or more connectors interconnected with the detector can be added as a standby communication link.
[0053] Optionally, the communication link may be formed by a cable, or may be a short-distance contactless wireless transmission channel. The identifier of the communication link may be a channel ID.
[0054] Specifically, if the data combining processing unit detects that there is a faulty communication link among the multiple communication links through which the data combining processing unit establishes a communication connection with the data sending end, the data combining processing unit obtains the identifier of the backup communication link that matches the faulty communication link. Optionally, if the data combining processing unit sends a link establishment request to the data sending end through a certain communication link, but fails to receive a successful link establishment response returned by the data sending end in response to the link establishment request, the data combining processing unit determines that the communication link is a faulty communication link. Optionally, the identifier of the backup communication link that matches the faulty communication link may be the identifier of the backup communication link that is closest to the faulty communication link, or may be the identifier of a unique backup communication link.
[0055] Step S204: According to the identifier of the standby communication link, the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end is adjusted to a second communication link group.
[0056] The first communication link group is composed of the faulty communication link and the interconnection link between the faulty communication link and the backup communication link. The second communication link group is composed of the backup communication link and the interconnection link between the faulty communication link and the backup communication link.
[0057] Specifically, the data combining processing unit adjusts the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end to the second communication link group according to the identifier of the backup communication link. For example, assume that the multiple communication links for establishing a communication connection between the data combining processing unit and the data sending end are communication link a, communication link b, communication link c, communication link d and communication link e, a total of 5 communication links, and the backup communication link f is located after communication link e. If communication link c fails, the backup communication link f is matched first. Then, the ports of the data combining processing unit and the data sending end that originally established a communication connection through communication link c are adjusted to establish a communication connection through communication link d; the ports of the data combining processing unit and the data sending end that originally established a communication connection through communication link d are adjusted to establish a communication connection through communication link e; the ports of the data combining processing unit and the data sending end that originally established a communication connection through communication link e are adjusted to establish a communication connection through the backup communication link f.
[0058] Step S206: receiving scan data sent by the data sending end through the second communication link group.
[0059] The scan data are used for image reconstruction after merging to obtain medical images of a computed tomography device.
[0060] Specifically, the data combining processing unit receives the scan data sent by the data sending end through the second communication link group. Further, the data combining processing unit combines the scan data to obtain combined scan data. After that, the data combining processing unit sends the combined scan data to the image reconstruction device in the computer tomography device, and the image reconstruction device reconstructs the combined scan data to obtain the medical image of the computer tomography device.
[0061] In the above-mentioned scanning data transmission method, if a communication link between a data combining processing unit in a computer tomography device and its corresponding data transmitting end for establishing a communication connection fails, an identifier of a backup communication link matching the failed communication link is obtained, and according to the identifier of the backup communication link, the backup communication link is used to replace the failed communication link, thereby adjusting the communication link between the data combining processing unit and the data transmitting end for establishing a communication connection to ensure the transmission of the scanning data. This method can quickly repair the communication link failure problem, reduce the adverse effects caused by the communication link failure, and is conducive to improving the overall transmission efficiency of the scanning data.
[0062] In one embodiment, Figure 3 As shown, it is a possible implementation method of "obtaining the identifier of the standby communication link matching the failed communication link" in the above step S202. Based on the above embodiment, step S202 can be specifically implemented by the following steps:
[0063] Step S212, obtaining the identifier of the most edge standby communication link on the data combining processing unit;
[0064] Step S214: determine the identifier of the most edge standby communication link as the identifier of the standby communication link that matches the faulty communication link.
[0065] Specifically, the backup communication link is pre-set at the edge of the data combining processing unit. The backup communication link at the edge can be understood as the first communication link or the last communication link. Based on this, if the data combining processing unit detects that there is a faulty communication link among multiple communication links, the identifier of the backup communication link at the edge of the data combining processing unit is obtained, and then the identifier of the backup communication link at the edge is determined as the identifier of the backup communication link that matches the faulty communication link.
[0066] For example, Figure 4 As shown, the data combining processing unit is Figure 4 The A and B boards in the data transmission end are Figure 4 The detector (DBB) in , the number of which is multiple. Figure 4In the figure, the backup communication links are respectively set at the rightmost end of the A board and the leftmost end of the B board. Then, when a communication link marked with an "×" mark fails, the A board and the B board respectively use the rightmost backup communication link and the leftmost backup communication link as replacement communication links for the failed communication link to ensure that the scanning data sent by the detector can be normally transmitted to the A board and the B board. Afterwards, the failed communication link between the detector and the A board and the B board and the interconnection link between the failed communication link and the backup communication link can be translated to the backup communication link and the interconnection link between the failed communication link and the backup communication link.
[0067] In this embodiment, by setting the backup communication link at the outermost end of the data combining processing unit, when searching for the backup communication link, the backup communication link can be found quickly and conveniently.
[0068] In one embodiment, Figure 5 As shown, another possible implementation method of "obtaining the identifier of the standby communication link matching the failed communication link" in the above step S202 is involved. Based on the above embodiment, step S202 can be specifically implemented by the following steps:
[0069] Step S222, obtaining an identifier of at least one standby communication link adjacent to the faulty communication link on the data combining processing unit;
[0070] Step S224: Select an identifier of a backup communication link from the identifiers of at least one adjacent backup communication link and determine it as the identifier of the backup communication link that matches the faulty communication link.
[0071] Specifically, the backup communication link is pre-set at an adjacent position of the communication link on the data combining processing unit. Optionally, a backup communication link can be set between the communication links on the data combining processing unit. Based on this, if the data combining processing unit detects that there is a faulty communication link among multiple communication links, the identifier of at least one backup communication link adjacent to the faulty communication link on the data combining processing unit is obtained, and then the identifier of a backup communication link is selected from the identifiers of at least one adjacent backup communication link, and determined as the identifier of the backup communication link that matches the faulty communication link.
[0072] For example, Figure 6 As shown, the data combining processing unit is Figure 6 The A and B boards in the data transmission end are Figure 6 The detector (DBB) in , the number of which is multiple. Figure 6In the example, the backup communication links are respectively set at adjacent positions of the communication link on the A board and the communication link on the B board. Then, when a communication link marked with an "×" mark fails, the A board and the B board can select a backup communication link adjacent to the failed communication link as a replacement communication link for the failed communication link to ensure that the scanning data sent by the detector can be normally transmitted to the A board and the B board. Afterwards, the failed communication link between the detector and the A board and the B board and the interconnection link between the failed communication link and the backup communication link can be translated to the backup communication link and the interconnection link between the failed communication link and the backup communication link.
[0073] In this embodiment, by setting the backup communication link at a position adjacent to the communication link on the data combining processing unit, when searching for the backup communication link, the backup communication link can be matched nearby, while reducing the workload of adjusting the communication link.
[0074] In one embodiment, Figure 7 As shown, another possible implementation method of "obtaining the identifier of the standby communication link matching the failed communication link" in the above step S202 is involved. Based on the above embodiment, step S202 can be specifically implemented by the following steps:
[0075] Step S232, obtaining the identifiers of two closest standby communication links respectively determined on both sides of the faulty communication link on the data combining processing unit;
[0076] Step S234, calculating the number of links between the standby communication links corresponding to the identifiers of the two closest standby communication links and the faulty communication link;
[0077] Step S236: determine the identifier of the backup communication link with the least number of interval links as the identifier of the backup communication link matching the faulty communication link.
[0078] Specifically, the backup communication links are pre-set on both sides of the communication link on the data combining processing unit. Based on this, if the data combining processing unit detects that there is a faulty communication link among multiple communication links, the identifiers of the two closest backup communication links respectively determined on both sides of the faulty communication link on the data combining processing unit are obtained, and the number of links between the backup communication link and the faulty communication link corresponding to the identifiers of the two closest backup communication links is calculated, and then the identifier of the backup communication link with the least number of links in the interval is determined as the channel ID of the backup communication link that matches the faulty communication link. In one embodiment, the number of interval links can be determined based on the sequence number of the backup communication link and the sequence number of the faulty communication link. For example, if the sequence number of the backup communication link is 15 and the sequence number of the faulty communication link is 13, then the number of interval links is 2.
[0079] For example, Figure 8 As shown, the data combining processing unit is Figure 8 The A and B boards in the data transmission end are Figure 8 The detector (DBB) in , the number of which is multiple. Figure 8 In the figure, the backup communication links are respectively arranged on the front side of several communication links on the A board and the front side of several communication links on the B board. Then, when a communication link marked with an "×" mark fails, the A board and the B board can select the closest backup communication link from both sides of the failed communication link as a replacement communication link for the failed communication link to ensure that the scanning data sent by the detector can be normally transmitted to the A board and the B board. Afterwards, the failed communication link between the detector and the A board and the B board and the interconnection link between the failed communication link and the backup communication link can be moved to the backup communication link and the interconnection link between the failed communication link and the backup communication link. For example Figure 8 The minimum shift of two positions marked in the figure means that the faulty communication link and the two detectors connected to the communication link before the faulty communication link are moved one position to the left as a whole. In this way, the detector originally connected to the communication link before the faulty communication link will be reconnected to the backup communication link, and the detector originally connected to the faulty communication link will be reconnected to the communication link before the faulty communication link.
[0080] In this embodiment, by setting the backup communication links on both sides of the communication link on the data combining processing unit, when searching for the backup communication link, the backup communication link is matched by searching for the minimum displacement, and the workload of adjusting the communication link can be reduced.
[0081] In one embodiment, the data transmitting end includes a detector in a computer tomography device. Based on this, in one embodiment, a possible implementation method of "adjusting the first communication link group for establishing a communication connection between the data combining processing unit and the data transmitting end to the second communication link group according to the identifier of the standby communication link" in the above step S204 is involved. Based on the above embodiment, step S204 can be specifically implemented by the following steps:
[0082] Step S2042, according to the identifier of the backup communication link, the first communication link group that establishes communication connections with multiple detectors is moved in sequence along the direction from the faulty communication link to the backup communication link, until a communication connection is established with the last detector through the backup communication link corresponding to the identifier of the backup communication link, thereby obtaining a second communication link group that establishes communication connections with multiple detectors.
[0083] For details, please refer again to Figure 4, taking board A as an example, when a communication link marked with an "×" on board A fails, board A will use the rightmost standby communication link as a replacement for the failed communication link. After that, the detector connected to the failed communication link marked with an "×" will move right by one position to establish a connection with the communication link at the corresponding position, and so on, the subsequent detectors will also move right by one position to establish a connection with the communication link at the corresponding position, until the last detector establishes a connection with the rightmost standby communication link, at which time the second communication link group that establishes communication connection with multiple detectors is determined.
[0084] In this embodiment, if a communication link between a data combining processing unit in a computer tomography device and its corresponding detector for establishing a communication connection fails, an identifier of a standby communication link matching the failed communication link is obtained, and according to the identifier of the standby communication link, the standby communication link is used to replace the failed communication link, thereby adjusting the communication link between the data combining processing unit and the detector for establishing a communication connection to ensure the transmission of the scanned data. This embodiment can quickly repair the fault problem of the communication link, reduce the adverse effects caused by the fault of the communication link, and is conducive to improving the overall transmission efficiency of the scanned data.
[0085] In one embodiment, the data transmitting end includes a first data combining processing unit in a computer tomography device, the first data combining processing unit is used to receive and combine the scan data sent by the detector in the computer tomography device. The data combining processing unit includes a second data combining processing unit in the computer tomography device.
[0086] Optionally, the first data combining processing unit may be Figure 4 The second data combining processing unit may be Figure 4 C board in.
[0087] In this embodiment, if a communication link that establishes a communication connection between the second data combining processing unit in the computed tomography device and its corresponding first data combining processing unit fails, an identifier of a backup communication link that matches the failed communication link is obtained, and based on the identifier of the backup communication link, the backup communication link is used to replace the failed communication link, thereby adjusting the communication link that establishes a communication connection between the second data combining processing unit and the first data combining processing unit to ensure the transmission of the scanned data. This embodiment can quickly repair the fault problem of the communication link, reduce the adverse effects caused by the fault of the communication link, and is conducive to improving the overall transmission efficiency of the scanned data.
[0088] The following is an introduction to an embodiment of the present application in conjunction with a specific application scenario. Fig. 9 and Fig.10 As shown, the method comprises the following steps:
[0089] See also Fig. 9 ,Under normal data transmission conditions, after the A board or the B board receives the scanning data sent from multiple detectors, the scanning data is rearranged, combined, and transmitted to the C board. Fig. 9 The scanning data sent by each of the three detectors are combined as a frame of data for the next channel for transmission and analysis. Fig.10 , a backup communication link 1 is set between communication link 5 and communication link 6, and a backup communication link 2 is set next to communication link 39. Assuming that when communication link 4 and communication link 37 fail, the C board cannot obtain the corresponding detector's successful link establishment response, and will automatically read the communication link with a larger sequence number until all 39 communication links can read the successful link establishment response, and then follow Fig.10 It can be understood that data merging refers to the merging of multi-detector data.
[0090] In this embodiment, multiple communication link redundancy, onboard or logic automatic adaptation and link establishment are used to repair communication link failure problems, with low additional costs, which can greatly improve the reliability of the data acquisition link of the entire machine and the efficiency of machine use. In addition, this embodiment does not need to add chips or circuits to the original design, because the original processor chip has redundant interfaces or only needs to provide a number of connectors to lead out the interfaces. Through the processor onboard or logic automatic adaptation of the communication link, the faulty communication link is identified and avoided, and the computer tomography device can be restored to normal from the downtime state in a timely and effective manner.
[0091] It should be understood that although Figure 2 , 3 The steps in the flowcharts of , 5 and 7 are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 , 3 At least part of the steps in , 5 and 7 may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0092] In one embodiment, Fig.11 As shown, a scanning data transmission device is provided, including: a processor 302, a controller 304 and an I / O interface 306, wherein:
[0093] The processor 302 is configured to obtain an identifier of a backup communication link matching the failed communication link if a failed communication link is detected among the multiple communication links, wherein the backup communication link is connected to the data combining processing unit;
[0094] The controller 304 is used to adjust the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end to a second communication link group according to the identifier of the backup communication link, wherein the first communication link group consists of a faulty communication link and an interconnection link between the faulty communication link and the backup communication link, and the second communication link group consists of a backup communication link and an interconnection link between the faulty communication link and the backup communication link;
[0095] The I / O interface 306 is used to receive the scan data sent by the data sending end through the second communication link group, wherein the scan data can be combined to obtain a reconstructed image of the computer tomography device through image reconstruction.
[0096] In the above-mentioned scanning data transmission device, if the communication link between the data combining processing unit in the computer tomography scanning device and its corresponding data sending end to establish a communication connection fails, the identifier of the backup communication link matching the failed communication link is obtained, and according to the identifier of the backup communication link, the backup communication link is used to replace the failed communication link, so as to adjust the communication link between the data combining processing unit and the data sending end to establish a communication connection to ensure the transmission of the scanning data. This device can quickly repair the communication link failure problem, reduce the adverse effects caused by the communication link failure, and is conducive to improving the overall transmission efficiency of the scanning data.
[0097] In one embodiment, the processor 302 is specifically configured to obtain an identifier of the most edge standby communication link on the data combining processing unit; and determine the identifier of the most edge standby communication link as an identifier of a standby communication link matching the faulty communication link.
[0098] In one embodiment, the processor 302 is specifically used to obtain the identifier of at least one backup communication link adjacent to the faulty communication link on the data combining processing unit; select the identifier of a backup communication link from the identifier of at least one adjacent backup communication link, and determine it as the identifier of the backup communication link that matches the faulty communication link.
[0099] In one embodiment, the processor 302 is specifically used to obtain the identifiers of the two closest backup communication links determined on both sides of the faulty communication link on the data combining processing unit; calculate the number of links between the backup communication link corresponding to the identifiers of the two closest backup communication links and the faulty communication link; and determine the identifier of the backup communication link with the least number of links as the identifier of the backup communication link that matches the faulty communication link.
[0100] In one embodiment, the controller 304 is specifically used to, according to the identifier of the backup communication link, sequentially shift the communication links that establish communication connections with multiple detectors in the direction from the failed communication link to the backup communication link, until a communication connection is established with the last detector through the backup communication link corresponding to the identifier of the backup communication link, thereby obtaining a second communication link group that establishes communication connections with multiple detectors.
[0101] The specific definition of the scanning data transmission device can be found in the definition of the scanning data transmission method above, which will not be repeated here. Each module in the above scanning data transmission device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0102] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.12 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for transmitting scan data is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0103] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0104] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0105] If it is detected that there is a faulty communication link among the multiple communication links, an identifier of a standby communication link matching the faulty communication link is obtained, wherein the standby communication link is connected to the data combining processing unit;
[0106] According to the identifier of the backup communication link, the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end is adjusted to a second communication link group, wherein the first communication link group is composed of a faulty communication link and an interconnection link between the faulty communication link and the backup communication link, and the second communication link group is composed of a backup communication link and an interconnection link between the faulty communication link and the backup communication link;
[0107] The scanning data transmitted by the data transmitting end through the second communication link group is received, wherein the scanning data is used to obtain a medical image of a computer tomography device through image reconstruction after merging.
[0108] In the above-mentioned computer device, if a communication link between a data combining processing unit in a computer tomography device and its corresponding data transmitting end for establishing a communication connection fails, an identifier of a backup communication link matching the failed communication link is obtained, and according to the identifier of the backup communication link, the backup communication link is used to replace the failed communication link, thereby adjusting the communication link between the data combining processing unit and the data transmitting end for establishing a communication connection to ensure the transmission of the scanned data. The computer device can quickly repair the fault problem of the communication link, reduce the adverse effects caused by the fault of the communication link, and is conducive to improving the overall transmission efficiency of the scanned data.
[0109] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the identifier of the most edge standby communication link on the data combining processing unit; and determining the identifier of the most edge standby communication link as the identifier of the standby communication link that matches the faulty communication link.
[0110] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the identifier of at least one backup communication link adjacent to the faulty communication link on the data combining processing unit; selecting the identifier of a backup communication link from the identifiers of at least one adjacent backup communication link, and determining it as the identifier of the backup communication link that matches the faulty communication link.
[0111] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the identifiers of the two closest backup communication links respectively determined on both sides of the faulty communication link on the data combining processing unit; calculating the number of links between the backup communication link corresponding to the identifiers of the two closest backup communication links and the faulty communication link; and determining the identifier of the backup communication link with the least number of links as the identifier of the backup communication link that matches the faulty communication link.
[0112] In one embodiment, when the processor executes the computer program, the following steps are also implemented: according to the identifier of the backup communication link, the first communication link group that establishes communication connections with multiple detectors is moved in sequence from the direction of the failed communication link to the backup communication link, until the backup communication link corresponding to the identifier of the backup communication link establishes a communication connection with the last detector, thereby obtaining a second communication link group that establishes communication connections with multiple detectors.
[0113] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0114] If it is detected that there is a faulty communication link among the multiple communication links, an identifier of a standby communication link matching the faulty communication link is obtained, wherein the standby communication link is connected to the data combining processing unit;
[0115] According to the identifier of the backup communication link, the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end is adjusted to a second communication link group, wherein the first communication link group is composed of a faulty communication link and an interconnection link between the faulty communication link and the backup communication link, and the second communication link group is composed of a backup communication link and an interconnection link between the faulty communication link and the backup communication link;
[0116] The scanning data transmitted by the data transmitting end through the second communication link group is received, wherein the scanning data is used for obtaining a medical image of a computer tomography device through image reconstruction after merging.
[0117] In the above-mentioned computer-readable storage medium, if a communication link between a data combining processing unit in a computer tomography device and its corresponding data transmitting end to establish a communication connection fails, an identifier of a backup communication link matching the failed communication link is obtained, and according to the identifier of the backup communication link, the backup communication link is used to replace the failed communication link, thereby adjusting the communication link between the data combining processing unit and the data transmitting end to establish a communication connection to ensure the transmission of the scanned data. This storage medium can quickly repair the fault problem of the communication link, reduce the adverse effects caused by the communication link failure, and is conducive to improving the overall transmission efficiency of the scanned data.
[0118] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the identifier of the most edge standby communication link on the data combining processing unit; determining the identifier of the most edge standby communication link as the identifier of the standby communication link that matches the faulty communication link.
[0119] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the identifier of at least one backup communication link adjacent to the faulty communication link on the data combining processing unit; selecting the identifier of a backup communication link from the identifiers of at least one adjacent backup communication link, and determining it as the identifier of the backup communication link that matches the faulty communication link.
[0120] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the identifiers of the two closest backup communication links respectively determined on both sides of the faulty communication link on the data combining processing unit; calculating the number of links between the backup communication link corresponding to the identifiers of the two closest backup communication links and the faulty communication link; and determining the identifier of the backup communication link with the least number of links as the identifier of the backup communication link that matches the faulty communication link.
[0121] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the identifier of the backup communication link, the first communication link group that establishes communication connections with multiple detectors is moved in sequence along the direction from the failed communication link to the backup communication link, until the backup communication link corresponding to the identifier of the backup communication link establishes a communication connection with the last detector, thereby obtaining a second communication link group that establishes communication connections with multiple detectors.
[0122] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0123] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0124] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for transmitting scan data, characterized in that: A data combining processing unit applied to a computer tomography device, wherein the data combining processing unit establishes a communication connection with a data transmitting end through multiple communication links; the data combining processing unit is a board; The data sending end is a detector; the method comprises: If it is detected that there is a faulty communication link among the multiple communication links, an identifier of a backup communication link matching the faulty communication link is obtained; the backup communication link is connected to the data combining processing unit; the identifier of the backup communication link is a channel ID; the obtaining of the identifier of the backup communication link matching the faulty communication link specifically includes: obtaining the identifiers of two closest backup communication links respectively determined on both sides of the faulty communication link on the data combining processing unit; calculating the number of links between the backup communication link corresponding to the identifiers of the two closest backup communication links and the faulty communication link; determining the identifier of the backup communication link with the least number of links in the interval as the identifier of the backup communication link matching the faulty communication link; According to the identifier of the backup communication link, the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end is adjusted to a second communication link group; the first communication link group is composed of the faulty communication link and the interconnection link between the faulty communication link and the backup communication link; the second communication link group is composed of the backup communication link and the interconnection link between the faulty communication link and the backup communication link; Receive scanning data sent by the data sending end through the second communication link group, wherein the scanning data is used to obtain a medical image of the computer tomography device through image reconstruction after merging.
2. The method according to claim 1, characterized in that The obtaining the identifier of the standby communication link matching the faulty communication link comprises: Obtaining an identifier of the most edge standby communication link on the data combining processing unit; The identifier of the outermost backup communication link is determined as the identifier of the backup communication link that matches the faulty communication link.
3. The method according to claim 1, characterized in that The obtaining the identifier of the standby communication link matching the faulty communication link comprises: Obtaining an identifier of at least one standby communication link adjacent to the faulty communication link on the data combining processing unit; An identifier of a backup communication link is selected from the identifiers of the at least one adjacent backup communication link and determined as the identifier of the backup communication link that matches the faulty communication link.
4. The method according to claim 1, characterized in that The data sending end includes a detector in the computer tomography device.
5. The method according to claim 4, characterized in that The step of adjusting the first communication link group for establishing a communication connection between the data combining processing unit and the data sending end to the second communication link group according to the identifier of the standby communication link includes: According to the identifier of the backup communication link, the first communication link group that establishes communication connections between the data combining processing unit and the multiple detectors is moved sequentially in the direction from the faulty communication link to the backup communication link, until a communication connection is established with the last detector through the backup communication link corresponding to the identifier of the backup communication link, thereby obtaining a second communication link group that establishes communication connections with the multiple detectors.
6. The method according to claim 1, characterized in that The data sending end includes a first data combining processing unit in the computer tomography device, and the first data combining processing unit is used to receive and combine the scanning data sent by the detector in the computer tomography device; the data combining processing unit includes a second data combining processing unit in the computer tomography device.
7. A scanning data transmission device, characterized in that: A data combining processing unit used in a computer tomography device, wherein the data combining processing unit establishes a communication connection with a data transmitting end through a plurality of communication links; the data combining processing unit is a board; The data sending end is a detector; the device comprises: A processor, for obtaining an identifier of a standby communication link matching the faulty communication link if a faulty communication link is detected among the multiple communication links; the standby communication link is connected to the data combining processing unit; the identifier of the standby communication link is a channel ID; the obtaining of the identifier of the standby communication link matching the faulty communication link specifically comprises: obtaining the identifiers of two closest standby communication links respectively determined on both sides of the faulty communication link on the data combining processing unit; calculating the number of links between the standby communication link corresponding to the identifiers of the two closest standby communication links and the faulty communication link; determining the identifier of the standby communication link with the least number of links in the interval as the identifier of the standby communication link matching the faulty communication link; A controller, configured to adjust, according to the identifier of the backup communication link, a first communication link group for establishing a communication connection between the data combining processing unit and the data sending end to a second communication link group; the first communication link group is composed of the faulty communication link and an interconnection link between the faulty communication link and the backup communication link; the second communication link group is composed of the backup communication link and an interconnection link between the faulty communication link and the backup communication link; The I / O interface is used to receive the scanning data sent by the data sending end through the second communication link group, wherein the scanning data can obtain a reconstructed image of the computer tomography device through image reconstruction after being merged.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Methods and devices for data transmission
EP4360300B1
