A control method for ray human-computer interaction

By optimizing the control method of the ray human-computer interaction system, processing user operation instructions and optimizing the communication speed of feedback status instructions, the problems of ray waste and harm to the human body caused by ray system delay are solved, and the system stability and user experience are improved.

CN114305460BActive Publication Date: 2024-12-03NANJING PERLOVE RADIAL VIDEO EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111524042.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-14
Publication Date
2024-12-03
Estimated Expiration
2041-12-14

AI Technical Summary

Technical Problem

The delay in the ray human-computer interaction system leads to ray waste and damage to the human body. The delay in user operation command feedback causes the user to mistakenly believe that the interface is not responding, resulting in repeated commands and increasing operating load, affecting the real-time nature of rays.

Method used

By generating control information in the interactive system and sending it to the ray machine, detecting and processing user operation instructions, using hardware switches to send short-circuit signals to control the output of the ray, and optimizing the communication speed of the feedback state instructions, ensuring the real-time and validity of the information , avoid duplicate commands and busy system states.

Benefits of technology

It improves system stability, reduces the use of ray dose, reduces damage to the human body, and improves the user experience and ray regulation speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114305460B_ABST
    Figure CN114305460B_ABST
Patent Text Reader

Abstract

The present invention discloses a human-computer interaction control method for a X-ray machine, comprising the following steps: (1) after receiving the feedback status instruction of the X-ray machine, the interactive system generates control information according to the customer operation instruction and sends it to the X-ray machine, and at the same time starts the preparation button of the interactive system; (2) the X-ray machine prepares the X-ray according to the obtained parameters, and sends the feedback status instruction to the interactive system after being ready; (3) after receiving the feedback status instruction of the X-ray machine, the interactive system sends control information to the X-ray machine, and at the same time sends a short-circuit signal to the X-ray machine through a hardware switch; (4) after receiving the short-circuit signal, the X-ray machine sends out the X-ray, and the detector transmits the image to the interactive system; (5) the interactive system displays the image. The present invention improves the system stability by filtering the user operation; rationally controls the communication speed, speeds up the sending and receiving of commands, reduces the X-ray dose used, speeds up the dose adjustment speed, improves the user experience, and reduces the harm to the human body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a control method, and in particular to a control method for ray human-computer interaction. Background Art

[0002] The Human Machine Interface for Xray Control (HMIXC) is the medium for interaction and information exchange between the Xray system and the user. It is responsible for receiving user operation instructions and providing feedback on the operation instructions. In actual operation, radiation is harmful to the human body. When taking images, the emission time must be short. To have a clear image, a certain amount of radiation is required. To have less radiation, the exposure time of the radiation must be controlled, and the emission time must be controlled within the effective photosensitivity time of the detector.

[0003] X-ray filming is different from filming with ordinary cameras. Ordinary cameras have sufficient natural light when filming, and do not need to know the exact exposure time. X-ray imaging requires accurate exposure time and real-time performance. However, there is often a certain delay in the feedback of the user's operation instructions from the human-computer interaction interface. The specific delay length depends on the operating load of the human-computer interaction interface. When the system is too busy, the delay in feedback on the operation instructions is longer. However, a long delay can easily make users mistakenly believe that the human-computer interaction interface does not respond to the operation instructions, so they issue repeated instructions repeatedly, resulting in a large number of invalid instructions, increasing the operating load, affecting the operation of the machine, and even affecting the real-time performance of the X-ray. Summary of the invention

[0004] Purpose of the invention: The present invention aims to provide a control method and system for ray human-computer interaction to solve the problem of ray waste and harm to the human body caused by delay in the interactive system.

[0005] Technical solution: The human-computer interaction control method of the ray machine of the present invention comprises the following steps:

[0006] (1) After receiving the feedback status instruction from the X-ray machine, the interactive system generates control information according to the customer's operation instruction and sends it to the X-ray machine, and at the same time activates the ready button of the interactive system;

[0007] (2) The ray machine prepares the ray according to the obtained parameters and sends a feedback status instruction to the interactive system after preparation;

[0008] (3) After receiving the feedback status instruction from the X-ray machine, the interactive system sends control information to the X-ray machine and simultaneously sends a short-circuit signal to the X-ray machine and detector through the hardware switch;

[0009] (4) After receiving the short-circuit signal, the X-ray machine emits rays, and the detector transmits the image to the interactive system;

[0010] (5) The interactive system displays images.

[0011] In step (1), the customer operation instruction is marked. During the execution of the instruction, if another instruction is received, it is determined whether it is the same operation instruction; if it is the same, the instruction is destroyed; if it is not the same, the customer operation instruction is inserted into the queue of operation instructions, and after the previous instruction is executed, the last instruction in the queue is taken out for execution.

[0012] The control information in step (1) is 8 bits, the first bit is a flag bit, the second bit is data length, the third bit is X-ray machine feedback status instruction communication speed, the fourth and fifth bits are command sequence numbers, and the sixth and seventh bits are check bits.

[0013] After the control information is sent for the first time in step (1), check whether there is a reply within X1 time. If there is no reply, send it again.

[0014] In step (2), the X-ray machine sends a feedback status instruction to the interactive system more than twice; the feedback status instruction communication speed V is calculated in real time by the interactive system and sent to the X-ray machine. The calculation formula is as follows:

[0015] V=1000÷(1000÷(V1÷3)+N1*T1÷5)

[0016] Among them, the number of information in the instruction queue is N1, the network transmission speed is V1, and the time it takes for the software interface to process an instruction is T1.

[0017] The feedback status instruction includes the first flag bit, the second data length, the third mode bit, the fourth communication speed bit, the fifth KV, the sixth mA, the seventh mAs, the eighth frame rate, the ninth output line related, the tenth body part, the eleventh heat capacity, the twelfth exposure minutes, the thirteenth exposure seconds, the fourteenth exposure times, the fifteenth to twenty-second reserved bits, and the twenty-third and twenty-fourth check bits.

[0018] After receiving the feedback status instruction from the X-ray machine in step (3), it is stored in the memory, the validity of the information is verified according to the communication protocol, and then compared with the previous information. If they are the same, they are discarded; if they are not the same, the status of the X-ray machine is analyzed and displayed, prompting the user to operate.

[0019] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages:

[0020] (1) Improve system stability by filtering user operations.

[0021] (2) Reasonable control of communication speed speeds up the sending and receiving of commands, reduces the X-ray dose used, speeds up the adjustment of dose, improves user experience and reduces harm to the human body. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a flow chart of the method of the present invention;

[0023] Figure 2 This is the software interface diagram of the present invention;

[0024] Figure 3 This is a schematic diagram of the present invention. DETAILED DESCRIPTION

[0025] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0026] Depend on Figure 1 It can be seen that the control method of ray human-computer interaction described in the present invention includes the following steps:

[0027] (1) After receiving the feedback status instruction from the X-ray machine, the interactive system generates control information according to the customer's operation instruction and sends it to the X-ray machine while activating the ready button.

[0028] After the X-ray machine is started, it sends a feedback status instruction to the interactive system. The feedback status instruction includes KV value, mA value, mAs value, frame rate value, and mode value. After receiving it, the interactive system parses the feedback status instruction. The customer adjusts the KV value, mA value, and mAs value according to the patient's body shape and the part to be photographed, and starts the ready button. After the interactive system sends control information to the X-ray machine according to the user's operation instruction, it detects whether the X-ray machine responds within X1 time. If there is no response, it will send it again.

[0029] The control information is 8 bits, the first bit is the flag bit, the second bit is the data length, the third bit is the communication speed of the X-ray machine feedback status command, the fourth and fifth bits are the command number, and the sixth and seventh bits are the check bits.

[0030] The interactive system marks the user's operation instructions and obtains the time point of the instruction. During the execution of this instruction, if another instruction is received, it is determined whether it is the same operation instruction; if it is the same instruction, it is destroyed; if it is not the same operation instruction, it is inserted into the operation instruction queue, and after the previous instruction is executed, the last instruction in the queue is taken out and executed. This ensures the stability of the human-computer interaction program, does not keep the system in a busy state, and executes commands with maximum efficiency. In this way, the X-ray machine can know the detector sensitivity time at the first time, and can ensure that the X-rays are as small as possible.

[0031] (2) The ray machine prepares the ray according to the obtained parameters and sends a feedback status instruction to the interactive system after preparation;

[0032] The interactive system uses TCP / IP protocol for communication. Each feedback status instruction is 24 bits. It regularly feeds back the status of the X-ray machine and also reflects what event the X-ray machine is executing. The interactive system interacts with the user and the detector. The amount of information is very large, which requires reasonable allocation and efficient execution.

[0033] The X-ray machine feedback status information includes flag bit, data length, KV value, mA value, mAs value, frame rate value, mode value, X-ray machine working status value, check bit, etc. The specific information is as follows: the first bit is the flag bit, the second bit is the data length, the third bit is the mode bit, the fourth bit is the communication speed bit, the fifth bit is KV, the sixth bit is mA, the seventh bit is mAs, the eighth bit is the frame rate, the ninth bit is related to the output line, the tenth bit is the body part, the eleventh bit is the heat capacity, the twelfth bit is the exposure minutes, the thirteenth bit is the exposure seconds, the fourteenth bit is the number of exposures, the 15th to 22nd bits are reserved, and the 23rd and 24th bits are check bits.

[0034] Since the X-ray machine executes commands passively, it is required to return its status in real time to decide the next operation. The X-ray machine feedback status command communication speed must have certain requirements. If it is too slow, it will not be real-time enough. If it is too fast, it will easily cause network congestion and affect human-computer interaction. The calculation formula of feedback status command communication speed V is as follows:

[0035] V=1000÷(1000÷(V1÷3)+N1*T1÷5)

[0036] Among them, the number of information in the instruction queue N1, the network transmission speed V1 (use software for testing to measure the number of information sent per unit time), take 1 / 3 (leave time for the system to process other operations), and the time for the software interface to process an instruction T1; for example, N1=5, V1=60 / second, the time for an instruction T1=15 milliseconds, and V=15 / second.

[0037] In order to ensure the accuracy of information, the X-ray machine needs to send the same information more than twice. After calculating the feedback status instruction communication speed, it is sent to the X-ray machine, and the X-ray machine controls the feedback status instruction sending speed.

[0038] (3) After receiving the feedback status instruction from the X-ray machine, the interactive system sends control information to the transmitter and sends a short-circuit signal to the X-ray machine and detector through the hardware switch.

[0039] After receiving the feedback status command from the X-ray machine, the human-computer interaction system stores it in the memory, verifies the validity of the information according to the communication protocol, and then compares it with the previous information. If they are the same, it will be discarded. If they are different, the status of the X-ray machine will be analyzed and displayed to prompt the user what operations can be performed.

[0040] (4) The X-ray machine emits radiation, and the detector transmits the image to the interactive system. The X-ray machine emits radiation, and the detector also receives this short-circuit signal, starts to sense light, forms an image, and transmits it to the interactive system.

[0041] (5) The interactive system displays the image. The system displays the image to the user to complete the shooting.

[0042] The present invention analyzes the instructions generated by the user, stores them in a queue, and when executing a command, if other commands are received, they are stored and compared with the previous command to determine the operation of the command. At the same time, there are certain requirements for the speed at which the X-ray device sends information, which ensures the stability of the human-computer interaction program, does not keep the system in a busy state, and executes commands with maximum efficiency. In this way, it can ensure that the X-ray device knows the detector sensitivity time in the first time, can ensure that the X-rays are as small as possible, and the image can still meet the requirements.

Claims

1. A human-computer interactive control method for a ray machine, characterized in that: The following steps are involved: (1) After receiving the feedback status instruction from the X-ray machine, the interactive system generates control information according to the customer's operation instruction and sends it to the X-ray machine, and at the same time activates the ready button of the interactive system; (2) The ray machine prepares the ray according to the obtained parameters and sends a feedback status instruction to the interactive system after preparation; (3) After receiving the feedback status instruction from the X-ray machine, the interactive system sends control information to the X-ray machine and simultaneously sends a short-circuit signal to the X-ray machine and detector through the hardware switch; (4) After receiving the short-circuit signal, the X-ray machine emits rays, and the detector transmits the image to the interactive system; (5) interactive system displays images; The control information in step (1) is 8 bits, the first bit is a flag bit, the second bit is data length, the third bit is X-ray machine feedback status instruction communication speed, the fourth and fifth bits are command sequence numbers, and the sixth and seventh bits are check bits; After the control information is sent for the first time in step (1), check whether there is a reply within X1 time, and if there is no reply, send it again; In the step (2), the X-ray machine sends a feedback status instruction to the interactive system more than twice; the feedback status instruction communication speed V is calculated in real time by the interactive system and sent to the X-ray machine, and the calculation formula is as follows: V=1000÷(1000÷(V1÷3)+N1*T1÷5) Among them, the number of information in the instruction queue is N1, the network transmission speed is V1, and the time it takes for the software interface to process an instruction is T1; The feedback status instruction includes the first flag bit, the second data length, the third mode bit, the fourth communication speed bit, the fifth KV, the sixth mA, the seventh mAs, the eighth frame rate, the ninth output line correlation, the tenth body part, the eleventh heat capacity, the twelfth exposure minutes, the thirteenth exposure seconds, the fourteenth exposure number, the fifteenth to twenty-second reserved bits, and the twenty-third and twenty-fourth check bits.

2. The human-computer interaction control method of the X-ray machine according to claim 1, characterized in that: In the step (1), the customer operation instruction is marked. During the execution of the instruction, if another instruction is received, it is determined whether it is the same operation instruction; if it is the same, the instruction is destroyed; if it is not the same, the customer operation instruction is inserted into the queue of operation instructions, and after the previous instruction is executed, the last instruction in the queue is taken out for execution.

3. The human-computer interaction control method of a X-ray machine according to claim 1, characterized in that: After receiving the feedback status instruction from the X-ray machine in step (3), it is stored in the memory, the validity of the information is verified according to the communication protocol, and then compared with the previous information. If they are the same, they are discarded; if they are not the same, the status of the X-ray machine is analyzed and displayed, prompting the user to operate.