Lightweight data verification method and system for nuclear medicine imaging equipment

By using independent detector command control subsystem and motion control subsystem in nuclear medical imaging equipment, data verification is performed using TCP/IP communication, the problem of large amount of data in the prior art is solved, and automatic verification of full coverage of data is achieved, and security and efficiency are improved.

CN119583164APending Publication Date: 2025-03-07QINGDAO BAIYANG DACHENG MEDICAL EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411715162.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

During the scanning process, existing nuclear medical imaging equipment cannot verify every data point due to the huge amount of data, which poses a safety hazard.

Method used

By independently setting the detector command control subsystem and the detector motion control subsystem as the server and client of the TCP/IP communication protocol, the TCP/IP communication protocol is used to perform data verification, generate verification files and compare, and the full coverage test verification of data is achieved.

Benefits of technology

It realizes that data verification does not depend on the scanning process, reduces loss to the equipment, avoids the problem of time-consuming, low efficiency of manpower verification, and realizes automatic verification of full data coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119583164A_ABST
    Figure CN119583164A_ABST
Patent Text Reader

Abstract

The invention provides a lightweight data verification method and system for nuclear medicine imaging equipment, and relates to the technical field of network communication of the nuclear medicine imaging equipment, and the method comprises the steps: enabling a detector command control subsystem and a detector motion control subsystem in an SPECT / CT or Gamma system to be independent; and realizing multi-document data verification based on different paths. According to the invention, loss of equipment can be reduced, full-coverage test of data and lightweight data simulation are realized, the problems of long time consumption and low efficiency of data verification depending on manpower are avoided, and automatic verification of full coverage of data is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technology for nuclear medicine imaging equipment, and in particular, to a method for communicating between core components of nuclear medicine equipment such as SPECT, SPECT / CT, and Gamma cameras through a TCP / IP protocol, and testing and correcting data, and in particular, to a lightweight data verification method and system for nuclear medicine imaging equipment. Background Art

[0002] Nuclear medicine imaging equipment such as SPECT / CT and Gamma cameras need to coordinate the operation of multiple core components such as patient supports, racks, and detectors to complete a scanning process. The various components communicate over the network based on the TCP / IP protocol to exchange messages. During the scanning process, when the detector is in close proximity mode, the distance between the detector and the patient needs to be controlled in real time to avoid the dangerous situation of the detector squeezing the patient. Therefore, real-time control of the position of the detector is a safety risk control that must be performed. In actual applications, data is tested based on multiple factors such as patient weight, horizontal position of the patient support, vertical height, and bed deformation. The interference curve is simulated through MATLAB, and then the data within the safety range is obtained, and the data output is saved as an interference safety file.

[0003] In SPECT / CT and Gamma camera equipment, the movement of the detector requires the detector command control subsystem and the detector motion control subsystem to communicate over the TCP / IP network to jointly complete the motion control. However, even if the interference safety judgment is added to the control logic, due to the huge amount of data, it is impossible to verify every data point in the interference safety file in the actual scanning process, and there are still certain safety risks. Summary of the invention

[0004] In view of the defects in the prior art, the present invention provides a lightweight data verification method and system for nuclear medicine imaging equipment.

[0005] According to a lightweight data verification method and system for nuclear medicine imaging equipment provided by the present invention, the scheme is as follows:

[0006] In a first aspect, a lightweight data verification method for a nuclear medicine imaging device is provided, the method comprising:

[0007] Step S1: separate the detector command control subsystem in the nuclear medicine imaging device into a GCC as the server of the TCP / IP communication protocol, separate the detector motion control subsystem into a DCC as the client of the TCP / IP communication protocol; establish TCP / IP communication by specifying the IP address and port number of the communication;

[0008] Step S2: The server GCC reads the interference safety file data, sets the initial value information of the bed height, horizontal position and rack angle according to the data range of the interference safety file, and sends the initial value information to the client DCC;

[0009] Step S3: The client DCC reads the interference security file data and stores the interference security file data in the buffer, and at the same time receives the initial value information sent by the server in real time for parsing, and writes the parsed parameter information into a new verification file to form a verification file path;

[0010] Step S4: Create a data verification execution program, and by specifying the interference safety file path and the verification file path, read all file name paths under the two paths into different buffers to complete data verification;

[0011] Step S5: The server GCC sends each data in the interference security file to the client DCC. DCC generates verification data corresponding to the original data in each interference security file based on the interference logic judgment, and compares all data through the verification program, thereby completing the full coverage test verification of the interference security data.

[0012] Preferably, in step S1, the communication IP address is designated as a local IP address, and the communication port number is set to a port number that does not conflict with other local port numbers.

[0013] Preferably, the step S2 comprises:

[0014] The server GCC sends the initial value information of the horizontal position, bed height position and gantry angle to the client according to the motion command format based on the data range in the interference safety file and the horizontal position and bed height position are constant, and the gantry angle covers a period range;

[0015] Among them, the bed height range, bed height step unit, horizontal position range, and horizontal position step unit must all be determined according to the interference safety file data: determine whether the currently set horizontal position value is greater than or equal to the lowest threshold of the horizontal range in the interference safety file. If not, directly terminate the data transmission;

[0016] Otherwise, further determine whether the current bed height value is less than or equal to the highest threshold of the bed height range in the interference safety file. If not, use the current horizontal position value plus the horizontal step unit as the current horizontal position; otherwise, further determine whether the currently set rack angle value is greater than or equal to the highest threshold of the rack angle in the interference safety file. If not, use the current bed height value plus the bed height step unit as the current bed height value. Otherwise, send a message to the client, and the message content includes the current horizontal position, current bed height and current rack angle information.

[0017] Preferably, the step S3 parses the initial information of the horizontal position, bed height position and gantry angle in the initial value information, judges and reads the data of the corresponding interference safety file in the buffer according to the current horizontal position and the current bed height, and then uses the binary search method to find the maximum movable distance of the detector corresponding to the current gantry angle information in the interference safety file in the buffer according to the current gantry angle information; and writes the parameter information read after processing each message into a new verification file, thereby obtaining all verification files corresponding to the interference safety file.

[0018] Preferably, in step S4, all file name paths under the two paths are read into buffer 1 and buffer 2 respectively, and then each file is traversed from buffer 1 and buffer 2, and each file content in buffer 1 is stored in buffer 3, and each file content in buffer 2 is stored in buffer 4; compare the data in buffer 3 and buffer 4, if all are correct, output Check Ok on the console, if there are differences, output the file path names and corresponding data contents with differences on the console, thereby automatically completing data verification.

[0019] In a second aspect, a lightweight data verification system for nuclear medicine imaging equipment is provided, the system comprising:

[0020] Module M1: The detector command control subsystem in the nuclear medicine imaging equipment is separated into GCC as the server of the TCP / IP communication protocol, and the detector motion control subsystem is separated into DCC as the client of the TCP / IP communication protocol; TCP / IP communication is established by specifying the IP address and port number of the communication;

[0021] Module M2: The server GCC reads the interference safety file data, sets the initial value information of the bed height, horizontal position and rack angle according to the data range of the interference safety file, and sends the initial value information to the client DCC;

[0022] Module M3: The client DCC reads the interference safety file data and stores the interference safety file data in the buffer. At the same time, it receives the initial value information sent by the server in real time for parsing. The parsed parameter information is written into the new verification file to form the verification file path;

[0023] Module M4: Create a data verification execution program, specify the interference safety file path and the verification file path, read all the file name paths under the two paths into different buffers, and complete the data verification;

[0024] Module M5: The server GCC sends each data in the interference safety file to the client DCC. Based on the interference logic, DCC generates verification data corresponding to the original data in each interference safety file, and compares all data through the verification program, thereby completing the full coverage test verification of the interference safety data.

[0025] Preferably, in the module M1, the communication IP address is designated as a local IP address, and the communication port number is set to a port number that does not conflict with other local port numbers.

[0026] Preferably, the module M2 comprises:

[0027] The server GCC sends the initial value information of the horizontal position, bed height position and gantry angle to the client according to the motion command format based on the data range in the interference safety file and the horizontal position and bed height position are constant, and the gantry angle covers a period range;

[0028] Among them, the bed height range, bed height step unit, horizontal position range, and horizontal position step unit must all be determined according to the interference safety file data: determine whether the currently set horizontal position value is greater than or equal to the lowest threshold of the horizontal range in the interference safety file. If not, directly terminate the data transmission;

[0029] Otherwise, further determine whether the current bed height value is less than or equal to the highest threshold of the bed height range in the interference safety file. If not, use the current horizontal position value plus the horizontal step unit as the current horizontal position; otherwise, further determine whether the currently set rack angle value is greater than or equal to the highest threshold of the rack angle in the interference safety file. If not, use the current bed height value plus the bed height step unit as the current bed height value. Otherwise, send a message to the client, and the message content includes the current horizontal position, current bed height and current rack angle information.

[0030] Preferably, the module M3 parses the initial information of the horizontal position, bed height position and gantry angle in the initial value information, judges and reads the data of the corresponding interference safety file in the buffer according to the current horizontal position and the current bed height, and then uses the binary search method to find the maximum movable distance of the detector corresponding to the current gantry angle information in the interference safety file in the buffer according to the current gantry angle information; and writes the parameter information read after processing each message into a new verification file, thereby obtaining all verification files corresponding to the interference safety file.

[0031] Preferably, the module M4 reads all the file name paths under the two paths into buffer 1 and buffer 2 respectively, then traverses each file from buffer 1 and buffer 2, stores each file content in buffer 1 into buffer 3, and stores each file content in buffer 2 into buffer 4; compares the data in buffer 3 and buffer 4, and if all are correct, outputs Check Ok on the console; if there are differences, outputs the file path names and corresponding data contents with differences on the console, thereby automatically completing data verification.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] 1. The data verification of the present invention does not rely on the scanning process. The data verification is separated from the scanning process, which reduces the loss of equipment and realizes full coverage test of data;

[0034] 2. The present invention separates the detector command control subsystem and the detector motion control subsystem from the scanning process to achieve lightweight data simulation;

[0035] 3. The present invention avoids the time-consuming and inefficient problem of relying on manpower to verify data, and realizes automatic verification with full data coverage.

[0036] Other beneficial effects of the present invention will be explained in the specific implementation manner through the introduction of specific technical features and technical solutions. Through the introduction of these technical features and technical solutions, those skilled in the art should be able to understand the beneficial technical effects brought about by the technical features and technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0038] Figure 1 It is an overall schematic diagram of the present invention;

[0039] Figure 2 A flowchart of the TCP / IP server function provided by the present invention;

[0040] Figure 3 A flowchart of the TCP / IP client function implementation provided by the present invention;

[0041] Figure 4 This is a flow chart for realizing the verification program function provided by the present invention. DETAILED DESCRIPTION

[0042] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0043] The embodiment of the present invention provides a lightweight data verification method for nuclear medicine imaging equipment, which is applied to equipment such as SPECT / CT, Gamma camera, etc. Figure 1 As shown, the method specifically includes:

[0044] Step S1: The detector command control subsystem in the nuclear medicine imaging device is separated into GCC (Gantry Controller Control) as the server of the TCP / IP communication protocol, and the detector motion control subsystem is separated into DCC (Detector Controller Control) as the client of the TCP / IP communication protocol; TCP / IP communication is established by specifying the communication IP address and port number; the communication IP address is specified as the local IP address, and the communication port number is set to a port number that does not conflict with other local port numbers.

[0045] Step S2: Refer to Figure 2 As shown, the server GCC reads the interference safety file and stores the data in the buffer. According to the data range in the interference safety file, the initial values ​​of the bed height, horizontal position and gantry angle are set. The following functions are implemented: when the horizontal position and bed height are constant, the gantry angle covers a period range (a period range is 360 degrees, and the step unit is 1 degree), and the horizontal position, bed height position, and gantry angle information are sent to the client according to the motion command format. (The bed height range is V, the bed height step unit is s1, the horizontal position range is H, and the horizontal position step unit is s2). It is worth noting that the bed height range V, bed height step unit s1, horizontal position range H, and horizontal position step unit s2 all need to be determined according to the interference safety file data. For example: at a certain horizontal position h and a certain bed height v (h is included in H, v is included in V), the gantry angle ranges from 0 degrees to 360 degrees, and each gantry angle corresponds to a set of data on the maximum distance the detector can move. The maximum distance that the detector can move in a rack angle cycle covered by such a set of specific horizontal positions and bed heights is an interference safety file, and several interference safety files are composed according to the horizontal range and bed height range.

[0046] Specifically, first determine whether the currently set horizontal position value is greater than or equal to the lowest threshold of the horizontal range in the interference safety file. If not, directly terminate the data transmission. Otherwise, further determine whether the current bed height value is less than or equal to the highest threshold of the bed height range in the interference safety file. If not, use the current horizontal position value plus the horizontal step unit s2 as the current horizontal position. Otherwise, further determine whether the currently set rack angle value is greater than or equal to the highest threshold of the rack angle in the interference safety file. If not, use the current bed height value plus the bed height step unit s1 as the current bed height value. Otherwise, send a message to the client, and the message content includes the current horizontal position, current bed height and current rack angle information.

[0047] Step S3: Refer to Figure 3 As shown in the figure, the client DCC reads the interference safety file data and stores the data in the buffer. At the same time, it receives the message sent by the server in real time, and parses the initial value information of the horizontal position, bed height position and rack angle in the message. According to the current horizontal position and current bed height, it determines which interference safety file data in the buffer is read, and then uses the binary search method to find the maximum movable distance of the detector corresponding to the current rack angle information in the interference safety file in the buffer according to the current rack angle information. By writing the parameter information read after processing each message into the new verification file, all verification files corresponding to the interference safety file are obtained.

[0048] Step S4: Refer to Figure 4 As shown, a data verification execution program is created. By specifying the interference safety file path and the verification file path in step S3, all file name paths under the two paths are read into buffer 1 and buffer 2 respectively, and then each file is traversed from buffer 1 and buffer 2, and each file content in buffer 1 is stored in buffer 3, and each file content in buffer 2 is stored in buffer 4. Compare the data in buffer 3 and buffer 4. If all are correct, "Check Ok" is output on the console. If there is a difference, the file path name and corresponding data content with the difference are output on the console. Thus, data verification is automatically completed.

[0049] Step S5: After the above steps, the GCC server program can send each data in the interference security file to the client DCC. DCC generates verification data corresponding to the original data in each interference security file based on the interference logic judgment of step S3, and the verification program can realize the comparison of all data, thereby completing the full coverage test verification of the interference security data.

[0050] The present invention also provides a lightweight data verification system for nuclear medical imaging equipment, which can be implemented by executing the process steps of the lightweight data verification method for nuclear medical imaging equipment, that is, those skilled in the art can understand the lightweight data verification method for nuclear medical imaging equipment as a preferred implementation of the lightweight data verification system for nuclear medical imaging equipment. The system specifically includes:

[0051] Module M1: The detector command control subsystem in the nuclear medicine imaging equipment is separated into GCC (GantryController Control) as the server of the TCP / IP communication protocol, and the detector motion control subsystem is separated into DCC (Detector Controller Control) as the client of the TCP / IP communication protocol; TCP / IP communication is established by specifying the communication IP address and port number; the communication IP address is specified as the local IP address, and the communication port number is set to a port number that does not conflict with other local port numbers.

[0052] Module M2: The server GCC implements the following functions according to the data range in the interference safety file: When the horizontal position and bed height are constant, the gantry angle covers a cycle range (a cycle range is 360 degrees) (the step unit is 1 degree), and the horizontal position, bed height position, and gantry angle information are sent to the client according to the motion command format. (The bed height range is V, the bed height step unit is s1, the horizontal position range is H, and the horizontal position step unit is s2). It is worth noting that the bed height range V, bed height step unit s1, horizontal position range H, and horizontal position step unit s2 all need to be determined according to the interference safety file data. For example: at a certain horizontal position h and a certain bed height v (h is included in H, v is included in V), the gantry angle ranges from 0 degrees to 360 degrees, and each gantry angle corresponds to a set of data on the maximum distance that the detector can move. In this way, the maximum distance that the detector can move in a gantry angle cycle covered by a set of specific horizontal positions and bed heights is an interference safety file, and several interference safety files are composed according to the horizontal range and bed height range.

[0053] Specifically, first determine whether the currently set horizontal position value is greater than or equal to the lowest threshold of the horizontal range in the interference safety file. If not, directly terminate the data transmission. Otherwise, further determine whether the current bed height value is less than or equal to the highest threshold of the bed height range in the interference safety file. If not, use the current horizontal position value plus the horizontal step unit s2 as the current horizontal position. Otherwise, further determine whether the currently set rack angle value is greater than or equal to the highest threshold of the rack angle in the interference safety file. If not, use the current bed height value plus the bed height step unit s1 as the current bed height value. Otherwise, send a message to the client, and the message content includes the current horizontal position, current bed height and current rack angle information.

[0054] Module M3: The client DCC reads the interference safety file data and stores the data in the buffer. At the same time, it receives the message sent by the server in real time, parses the horizontal position, bed height position and frame angle information in the message, searches for the data in the corresponding interference safety file in the buffer according to the current parameters, and writes the parameter information read after processing each message into the new verification file, thereby obtaining all the verification files corresponding to the interference safety file.

[0055] Module M4: Create a data verification execution program. By specifying the interference safety file path and the verification file path in step S3, all file name paths under the two paths are read into buffer 1 and buffer 2 respectively, and then traverse each file from buffer 1 and buffer 2, and store each file content in buffer 1 into buffer 3, and store each file content in buffer 2 into buffer 4. Compare the data in buffer 3 and buffer 4. If all are correct, output "Check Ok" on the console. If there is a difference, output the file path name and corresponding data content with the difference on the console. Thus, data verification is automatically completed.

[0056] Module M5: After the above steps, the GCC server program can send each data in the interference safety file to the client DCC. DCC generates verification data corresponding to the original data in each interference safety file based on the interference logic judgment of module M3, and the verification program can realize the comparison of all data, thereby completing the full coverage test verification of the interference safety data.

[0057] Next, the present invention will be described in more detail.

[0058] The present invention provides a lightweight data verification method for nuclear medicine imaging equipment, the method specifically comprising:

[0059] S1: Separate the detector command control subsystem from the detector motion control subsystem in the SPECT / CT or Gamma system;

[0060] S2: Implement data verification of multiple documents based on different paths.

[0061] Among them, the S1 specifically includes:

[0062] S11: The detector command control subsystem is separated into GCC (Gantry Controller Control) as the server of the TCP / IP communication protocol, and the detector motion control subsystem is separated into DCC (Detector Controller Control) as the client of the TCP / IP communication protocol.

[0063] S12: GCC implements the following functions according to the data range in the interference safety file: when the horizontal position, bed height position, and rack angle are certain, it sends a message to the client according to the motion command format.

[0064] S13: DCC reads the interference safety file data and stores the data in the buffer, receives the message sent by the server, and parses the horizontal position, bed height and rack angle information in the message. According to the current horizontal position and current bed height, it determines which interference safety file data in the buffer is read, and then uses the binary search method to find the maximum distance that the detector can move corresponding to the current rack angle information in the corresponding interference safety file in the buffer according to the current rack angle information. By writing the parameter information read after processing each message into the new verification file, all verification files corresponding to the interference safety file are obtained.

[0065] S2: By specifying the interference safety file path and the verification file path in step S13, all file name paths under the two paths are read into buffer 1 and buffer 2 respectively, and then each file is traversed from buffer 1 and buffer 2, and each file content in buffer 1 is stored in buffer 3, and each file content in buffer 2 is stored in buffer 4. Compare the data in buffer 3 and buffer 4, so as to automatically complete the data verification.

[0066] The embodiments of the present invention provide a lightweight data verification method and system for nuclear medicine imaging equipment, which solves the problem in the prior art that the accuracy of each data cannot be verified through a process due to the huge amount of data.

[0067] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.

[0068] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

Claims

1. A lightweight data verification method for nuclear medicine imaging equipment, characterized in that: include: Step S1: separate the detector command control subsystem in the nuclear medicine imaging device into a GCC as the server of the TCP / IP communication protocol, separate the detector motion control subsystem into a DCC as the client of the TCP / IP communication protocol; establish TCP / IP communication by specifying the IP address and port number of the communication; Step S2: The server GCC reads the interference safety file data, sets the initial value information of the bed height, horizontal position and rack angle according to the data range of the interference safety file, and sends the initial value information to the client DCC; Step S3: The client DCC reads the interference security file data and stores the interference security file data in the buffer, and at the same time receives the initial value information sent by the server in real time for parsing, and writes the parsed parameter information into a new verification file to form a verification file path; Step S4: Create a data verification execution program, and by specifying the interference safety file path and the verification file path, read all file name paths under the two paths into different buffers to complete data verification; Step S5: The server GCC sends each data in the interference security file to the client DCC. DCC generates verification data corresponding to the original data in each interference security file based on the interference logic judgment, and compares all data through the verification program, thereby completing the full coverage test verification of the interference security data.

2. The lightweight data verification method for nuclear medicine imaging equipment according to claim 1, characterized in that: In step S1, the communication IP address is designated as a local IP address, and the communication port number is set to a port number that does not conflict with other local port numbers.

3. The lightweight data verification method for nuclear medicine imaging equipment according to claim 1, characterized in that: The step S2 comprises: The server GCC sends the initial value information of the horizontal position, bed height position and gantry angle to the client according to the motion command format based on the data range in the interference safety file and the horizontal position and bed height position are constant, and the gantry angle covers a period range; Among them, the bed height range, bed height step unit, horizontal position range, and horizontal position step unit must all be determined according to the interference safety file data: determine whether the currently set horizontal position value is greater than or equal to the lowest threshold of the horizontal range in the interference safety file. If not, directly terminate the data transmission; Otherwise, further determine whether the current bed height value is less than or equal to the highest threshold of the bed height range in the interference safety file. If not, use the current horizontal position value plus the horizontal step unit as the current horizontal position; otherwise, further determine whether the currently set rack angle value is greater than or equal to the highest threshold of the rack angle in the interference safety file. If not, use the current bed height value plus the bed height step unit as the current bed height value. Otherwise, send a message to the client, and the message content includes the current horizontal position, current bed height and current rack angle information.

4. The lightweight data verification method for nuclear medicine imaging equipment according to claim 2, characterized in that: The step S3 parses the initial information of the horizontal position, the bed height position and the rack angle in the initial value information, judges and reads the data of the corresponding interference safety file in the buffer according to the current horizontal position and the current bed height, and then uses the binary search method to find the maximum movable distance of the detector corresponding to the current rack angle information in the interference safety file in the buffer according to the current rack angle information; and writes the parameter information read after processing each message into a new verification file, thereby obtaining all verification files corresponding to the interference safety file.

5. The lightweight data verification method for nuclear medicine imaging equipment according to claim 1, characterized in that: In step S4, all file name paths under the two paths are read into buffer 1 and buffer 2 respectively, and then each file is traversed from buffer 1 and buffer 2, and each file content in buffer 1 is stored in buffer 3, and each file content in buffer 2 is stored in buffer 4; compare the data in buffer 3 and buffer 4, if all are correct, output Check Ok on the console, if there are differences, output the file path names and corresponding data contents with differences on the console, thereby automatically completing data verification.

6. A lightweight data verification system for nuclear medicine imaging equipment, characterized in that: include: Module M1: The detector command control subsystem in the nuclear medicine imaging equipment is separated into GCC as the server of the TCP / IP communication protocol, and the detector motion control subsystem is separated into DCC as the client of the TCP / IP communication protocol; TCP / IP communication is established by specifying the IP address and port number of the communication; Module M2: The server GCC reads the interference safety file data, sets the initial value information of the bed height, horizontal position and rack angle according to the data range of the interference safety file, and sends the initial value information to the client DCC; Module M3: The client DCC reads the interference safety file data and stores the interference safety file data in the buffer. At the same time, it receives the initial value information sent by the server in real time for parsing. The parsed parameter information is written into the new verification file to form the verification file path; Module M4: Create a data verification execution program, specify the interference safety file path and the verification file path, read all the file name paths under the two paths into different buffers, and complete the data verification; Module M5: The server GCC sends each data in the interference safety file to the client DCC. Based on the interference logic, DCC generates verification data corresponding to the original data in each interference safety file, and compares all data through the verification program, thereby completing the full coverage test verification of the interference safety data.

7. The lightweight data verification system for nuclear medicine imaging equipment according to claim 6, characterized in that: In the module M1, the communication IP address is designated as the local IP address, and the communication port number is set to a port number that does not conflict with other local port numbers.

8. The lightweight data verification system for nuclear medicine imaging equipment according to claim 6, characterized in that: The module M2 comprises: The server GCC sends the initial value information of the horizontal position, bed height position and gantry angle to the client according to the motion command format based on the data range in the interference safety file and the horizontal position and bed height position are constant, and the gantry angle covers a period range; Among them, the bed height range, bed height step unit, horizontal position range, and horizontal position step unit must all be determined according to the interference safety file data: determine whether the currently set horizontal position value is greater than or equal to the lowest threshold of the horizontal range in the interference safety file. If not, directly terminate the data transmission; Otherwise, further determine whether the current bed height value is less than or equal to the highest threshold of the bed height range in the interference safety file. If not, use the current horizontal position value plus the horizontal step unit as the current horizontal position; otherwise, further determine whether the currently set rack angle value is greater than or equal to the highest threshold of the rack angle in the interference safety file. If not, use the current bed height value plus the bed height step unit as the current bed height value. Otherwise, send a message to the client, and the message content includes the current horizontal position, current bed height and current rack angle information.

9. The lightweight data verification system for nuclear medicine imaging equipment according to claim 6, characterized in that: The module M3 parses the initial information of the horizontal position, bed height position and rack angle in the initial value information, judges and reads the data of the corresponding interference safety file in the buffer according to the current horizontal position and the current bed height, and then uses the binary search method to find the maximum movable distance of the detector corresponding to the current rack angle information in the interference safety file in the buffer according to the current rack angle information; and writes the parameter information read after processing each message into a new verification file, thereby obtaining all verification files corresponding to the interference safety file.

10. The lightweight data verification system for nuclear medicine imaging equipment according to claim 6, characterized in that: In the module M4, all file name paths under the two paths are read into buffer 1 and buffer 2 respectively, and then each file is traversed from buffer 1 and buffer 2, and each file content in buffer 1 is stored in buffer 3, and each file content in buffer 2 is stored in buffer 4; the data in buffer 3 and buffer 4 are compared, and if all are correct, Check Ok is output on the console, and if there are differences, the file path names and corresponding data contents with differences are output on the console, thereby automatically completing data verification.