Exposure accumulated value processing method convenient to maintain

文档序号:1923645 发布日期:2021-12-03 浏览:17次 中文

阅读说明:本技术 一种方便维护的曝光累计值处理方法 (Exposure accumulated value processing method convenient to maintain ) 是由 朱银东 朱海刚 黄振强 于 2021-09-23 设计创作,主要内容包括:本发明公开了一种方便维护的曝光累计值处理方法,包括数据存储装置、扫描控制板和曝光计数器,数据存储装置与扫描控制板通信连接,对曝光计数器的数据进行读取和存储,数据存储装置掉电后提供默认信息与扫描控制板信息比对,确认一致后进行累加计数,若校验不通过则按照存储的历史信息进行检索找到正确的历史值参与计算,否则开辟新的存储空间进行累加。本发明可以实现更换球管无需更换计数器,并实现兼容老记录方案的效果。数据存储装置配合扫描控制板的节点注册序列号同步当前在用球管信息,达到了兼容性好,操作简单、成本低、安全可靠的使用效果。(The invention discloses an exposure accumulated value processing method convenient to maintain, which comprises a data storage device, a scanning control panel and an exposure counter, wherein the data storage device is in communication connection with the scanning control panel and is used for reading and storing data of the exposure counter, the data storage device provides default information after power failure and compares the default information with the scanning control panel information, accumulation counting is carried out after the default information is confirmed to be consistent with the scanning control panel information, if the verification is not passed, retrieval is carried out according to stored historical information to find out correct historical values to participate in calculation, and otherwise, a new storage space is opened up for accumulation. The invention can realize that the bulb tube is replaced without replacing the counter and realizes the effect of being compatible with the old recording scheme. The data storage device is matched with the node registration serial number of the scanning control panel to synchronize the information of the current ball tube, so that the using effects of good compatibility, simple operation, low cost, safety and reliability are achieved.)

1. An exposure accumulation value processing method convenient for maintenance is characterized in that: the data storage device is in communication connection with the scanning control panel, data of the exposure counter are read and stored, the data storage device provides default information after power failure and is compared with the scanning control panel information, accumulation counting is carried out after the default information is confirmed to be consistent, if verification is not passed, retrieval is carried out according to stored historical information to find out correct historical values to participate in calculation, and otherwise, a new storage space is opened up for accumulation.

2. The maintenance-convenient exposure integrated value processing method according to claim 1, characterized in that: the specific processing of the data storage device exposure accumulation includes the following steps,

(1) reading data from the serial number mark address written in the data storage device for the first time after power-on;

(2) reading information such as all pre-stored serial numbers, accumulated values and the like in a data storage device;

(3) judging whether the continuous four-byte data of the first written serial number mark address is consistent or not;

(4) if the result of the step (3) is judged to be 'yes', the current serial number information is intercepted, and the current serial number and the exposure accumulated value information are intercepted according to the serial number;

(5) storing corresponding accumulated value operation corresponding to the address in a bulb tube serial number installing mode;

(6) whether a serial number confirmation and a replacement command are received or not, if not, returning to the step (5);

(7) if the step (6) is yes, judging whether the sequence number information which is firstly sent after the scanning control board is electrified after being upgraded is consistent with the currently intercepted sequence number;

(8) if the result of the step (7) is 'yes', assigning the intercepted accumulated value to the accumulated value of the current ball tube in use, and enabling the current accumulated value to participate in the subsequent exposure accumulated calculation;

(9) if the result of the step (7) is 'no', reading all the bulb serial numbers, the accumulated value and the bulb serial numbers according to the space allocation of the data storage device, searching the currently received serial number in the read vertical information, and judging whether the currently received serial number is contained in the vertical information or not;

(10) if the result of the step (9) is 'yes', assigning the serial number and the exposure accumulated value at the address to the ball tube in use, and participating in subsequent exposure accumulated calculation by the accumulated value after practical assignment;

(11) if the result of the step (9) is 'no', storing the received serial number in the latest address, storing the serial number of the current ball tube in use +1, and clearing the exposure accumulated value of the current ball tube in use and participating in subsequent accumulation calculation;

(12) if the result of the step (3) is judged to be 'no', only the current bulb accumulated value is recorded and accumulated according to the original counting logic;

(12.1) receiving the serial number confirmation and the replacement command, judging whether the serial number of the original bulb tube is null, and if the result is judged to be 'no', returning to the step (12);

(12.2) if the result of the step (12.1) is judged to be yes, writing the serial number for the first time, and marking a four-byte data writing mark with continuous addresses;

and (12.3) storing the bulb serial number into the original bulb serial number data storage space, and executing the step (5).

3. The maintenance-convenient exposure integrated value processing method according to claim 1, characterized in that: when the abnormal information only upgrades the scanning control board and the exposure counter is not upgraded, the exposure counter does not recognize the newly added serial number confirmation command, and the method has no influence and is normally used.

4. The maintenance-convenient exposure integrated value processing method according to claim 1, characterized in that: when abnormal information only upgrades the scanning control board but not the exposure counter, the first address mark can not be obtained, the scanning control board is normally used, and the current recording information can not be lost according to new logic recording after next upgrading.

5. The maintenance-convenient exposure integrated value processing method according to claim 1, characterized in that: when the abnormal information is upgraded and the bulb tube replacing command is forgotten to be clicked, the serial number cannot be obtained, the verification information cannot be exposed, and maintenance personnel are prompted to write in the serial number information.

Technical Field

The invention relates to the technical field of medical instruments, in particular to an exposure accumulated value processing method convenient to maintain.

Background

The exposure accumulated value information of the CT needs to be recorded, most CT equipment manufacturers often adopt a scheme of recording the exposure times in seconds by using a database, and the technical scheme has the problem of trust of hospitals and CT equipment manufacturers due to the fact that the modification is too simple. The other scheme is that a hardware storage chip is adopted to store second exposure information, and the hardware of the counter is replaced when the bulb is replaced, so that the second exposure information displayed by the counter is the current exposure time of the bulb, and the total exposure time of the machine can be inquired in a database. The prior art scheme has the condition that the bulb is replaced and the counter is bound, the bulb and the exposure counter need to be replaced simultaneously theoretically when replaced, otherwise, the accumulated exposure time of the current machine can only be displayed, and the service time of the current bulb is not the service time of the current bulb.

Disclosure of Invention

Aiming at the defects of the prior art, the invention provides an exposure accumulated value processing method which is convenient to maintain, and can realize the requirement that a plurality of bulbs are recorded by one exposure counter without replacing the counter.

In order to achieve the purpose, the invention provides the following technical scheme: a maintenance-convenient exposure accumulated value processing method comprises a data storage device, a scanning control panel and an exposure counter, wherein the data storage device is in communication connection with the scanning control panel and reads and stores data of the exposure counter, the data storage device provides default information after power failure and compares the default information with information of the scanning control panel, accumulation counting is carried out after the default information is confirmed to be consistent with the information of the scanning control panel, if verification is not passed, retrieval is carried out according to stored historical information to find out correct historical value to participate in calculation, and otherwise, a new storage space is opened up for accumulation.

The specific processing of the data storage device exposure accumulation includes the following steps,

(1) reading data from the serial number mark address written in the data storage device for the first time after power-on;

(2) reading information such as all pre-stored serial numbers, accumulated values and the like in a data storage device;

(3) judging whether the continuous four-byte data of the first written serial number mark address is consistent or not;

(4) if the result of the step (3) is judged to be 'yes', the current serial number information is intercepted, and the current serial number and the exposure accumulated value information are intercepted according to the serial number;

(5) storing corresponding accumulated value operation corresponding to the address in a bulb tube serial number installing mode;

(6) whether a serial number confirmation and a replacement command are received or not, if not, returning to the step (5);

(7) if the step (6) is yes, judging whether the sequence number information which is firstly sent after the scanning control board is electrified after being upgraded is consistent with the currently intercepted sequence number;

(8) if the result of the step (7) is 'yes', assigning the intercepted accumulated value to the accumulated value of the current ball tube in use, and enabling the current accumulated value to participate in the subsequent exposure accumulated calculation;

(9) if the result of the step (7) is 'no', reading all the bulb serial numbers, the accumulated value and the bulb serial numbers according to the space allocation of the data storage device, searching the currently received serial number in the read vertical information, and judging whether the currently received serial number is contained in the vertical information or not;

(10) if the result of the step (9) is 'yes', assigning the serial number and the exposure accumulated value at the address to the ball tube in use, and participating in subsequent exposure accumulated calculation by the accumulated value after practical assignment;

(11) and (4) if the result of the step (9) is negative, storing the received serial number in the latest address, storing the serial number of the currently used bulb +1, and clearing the exposure accumulated value of the currently used bulb and participating in subsequent accumulation calculation.

(12) If the result of the step (3) is judged to be 'no', only the current bulb accumulated value is recorded and accumulated according to the original counting logic;

(12.1) receiving the serial number confirmation and the replacement command, judging whether the serial number of the original bulb tube is null, and if the result is judged to be 'no', returning to the step (12);

(12.2) if the result of the step (12.1) is judged to be yes, writing the serial number for the first time, and marking a four-byte data writing mark with continuous addresses;

and (12.3) storing the bulb serial number into the original bulb serial number data storage space, and executing the step (5).

Furthermore, when the abnormal information only upgrades the scanning control board and the exposure counter is not upgraded, the exposure counter does not recognize the newly added serial number confirmation command, and the method has no influence and is normally used.

Furthermore, when abnormal information only upgrades the exposure counter and the scanning control board is not upgraded, the first address mark cannot be obtained, the system is normally used, and current recording information cannot be lost according to new logic recording after next upgrading.

Further, when the abnormal information is upgraded and the bulb tube replacing command is forgotten to be clicked, the serial number cannot be acquired, the check information cannot be exposed, and maintenance personnel are prompted to write in the serial number information.

In summary, the present invention can realize bulb tube replacement without replacing the counter, and provides a method convenient for upgrading to realize compatibility with the old recording scheme. When after-sale upgrading software is needed, only the firmware and the software need to be upgraded normally, information such as the historical value of an old counter, a newly added serial number and the like can be automatically stored, and the situations that after each upgrading, a new serial number needs to be written in manually, the new serial number is written in the counter and the like, and even written data is disordered and the like due to forgetting to replace the serial number are avoided. The data storage device is matched with the node registration serial number of the scanning control panel to synchronize the information of the current ball tube, so that the using effects of good compatibility, simple operation, low cost, safety and reliability are achieved.

Drawings

FIG. 1 is a diagram illustrating the overall implementation of an embodiment of the present invention;

FIG. 2 is a diagram illustrating exception handling in the present invention;

FIG. 3 is a circuit diagram illustrating the connection between a data processing apparatus and a control board according to an embodiment of the present invention;

FIG. 4 is a circuit diagram of a portion of a communication section according to an embodiment of the present invention;

FIG. 5 is a circuit diagram of a serial port communication part according to an embodiment of the present invention;

FIG. 6 is a diagram of activating a software interface according to an embodiment of the present invention.

Detailed Description

An embodiment of a maintenance-friendly exposure integrated value processing method according to the present invention will be further described with reference to fig. 1 to 6.

In order to realize the compatibility of the storage address and the compatibility of the data processing, the data storage device adopts FRAM storage, the original definition of FRAM storage space is unchanged, and the newly added bulb adopts a uniform format, and the storage space of one embodiment of the invention is defined as follows:

# define Addr _ TUBE0_ RECTIME 0x 50// TUBE0 data storage Address

The # define Addr _ TUBE _ NUM _ FLAG 0xF 2// is stored in a mode of AAAAAA with the total number of 4BYTE, the AA is changed after writing, otherwise, the default// 0xAAAAAAA +1NUM +8TUBE0 serial number

# define Addr _ TUBE _ latest _ num 0xF 6// the currently most recently recorded serial number, power-on access, if not 0-20, then fetch the last accumulated value from TUBE0, otherwise fetch according to the last address,

# define Addr _ TUBE0_ SerialNUM 0xF 8// 0x 100-8// TUBE0 sequence number Address

#define Addr_TUBE1_SerialNUM 0x100

#define Addr_TUBE2_SerialNUM 0x100 + 30*1

#define Addr_TUBE3_SerialNUM 0x100 + 30*2

......

When processing according to the new protocol, reserving 20 TUBEs from the start address of TUBE1 followed by every offset of 30BYTE is 600BYTE, only TUBE0 has no sequence number but stores only accumulated values according to this logical encoding because of the ambiguity of the requirements.

Write flags are added according to the new protocol: the method is used for distinguishing whether the processing is carried out according to a new protocol or not, and the mark is read for distinguishing when the power is turned on next time.

When processing according to a new protocol, the addressing mode of each TUBE is 8BYTE serial number +17BYTE seconds + 1BYTE initialization times +4BYTE RESRVED, and the memory address of the default bulb serial number is planned to the position of TUBE1-8 in order to facilitate the retrieval of the prior default bulb. Macros are defined as follows:

# define Addr _ TUBE0_ SerialNUM 0x 100-8// starting memory:

then the whole storage structure after adding the sequence number of TUBE0 is: TUBE0 serial number + TUBE1 serial number + TUBE1 total second count + TUBE1 initialization count +4null + TUBE2 serial number + TUBE2 total second count + TUBE2 initialization count +4 null.

The data storage in this embodiment adopts FM25CL64, and uses SPI interface to communicate with the scan control board (MCU), and the specific circuit is shown in fig. 3. The invention supports CAN communication and UART communication simultaneously, both communication interfaces CAN read and write data, wherein the CAN communication uses a CAN controller of an MCU, TJA1050 is used as a level conversion chip, and the circuit of the communication part is shown in figure 4. In the serial port communication circuit in this embodiment, a MAX3225EUP + level conversion chip is used to lead out 2 paths of serial ports, where one path is used for communicating with a scan control board, and the other path is used for debugging, and this part of the circuit is shown in fig. 5. In this embodiment, the new serial number of the bulb needs to be added and activated in cooperation with tool software on the CONSOLE PC, and the software can add a new bulb, record the serial number, and obtain the cumulative second-time exposure information of the current bulb through communication with the exposure counter. The use interface of the software is shown in fig. 6.

The specific processing execution of the present embodiment includes the following steps,

(1) reading data from the serial number mark address written in the data storage device for the first time after power-on;

(2) reading information such as all pre-stored serial numbers, accumulated values and the like in a data storage device;

(3) judging whether the continuous four-byte data of the first written serial number mark address is 0 xAAAAAAA;

(4) if the result of the step (3) is judged to be 'yes', the current serial number information is intercepted, and the current serial number and the exposure accumulated value information are intercepted according to the serial number;

(5) storing corresponding accumulated value operation corresponding to the address in a bulb tube serial number installing mode;

(6) whether a serial number confirmation and a replacement command are received or not, if not, returning to the step (5);

(7) if the step (6) is yes, judging whether the sequence number information which is firstly sent after the scanning control board is electrified after being upgraded is consistent with the currently intercepted sequence number;

(8) if the result of the step (7) is 'yes', assigning the intercepted accumulated value to the accumulated value of the current ball tube in use, and enabling the current accumulated value to participate in the subsequent exposure accumulated calculation;

(9) if the result of the step (7) is 'no', reading all the bulb serial numbers, the accumulated value and the bulb serial numbers according to the space allocation of the data storage device, searching the currently received serial number in the read vertical information, and judging whether the currently received serial number is contained in the vertical information or not;

(10) if the result of the step (9) is 'yes', assigning the serial number and the exposure accumulated value at the address to the ball tube in use, and participating in subsequent exposure accumulated calculation by the accumulated value after practical assignment;

(11) and (4) if the result of the step (9) is negative, storing the received serial number in the latest address, storing the serial number of the currently used bulb +1, and clearing the exposure accumulated value of the currently used bulb and participating in subsequent accumulation calculation.

(12) If the result of the step (3) is judged to be 'no', only the current bulb accumulated value is recorded and accumulated according to the original counting logic;

(12.1) receiving the serial number confirmation and the replacement command, judging whether the serial number of the original bulb tube is null, and if the result is judged to be 'no', returning to the step (12);

(12.2) if the result of the step (12.1) is judged to be 'yes', writing the sequence number for the first time, and writing the mark address into a 0xAAAAAAA mark by continuous four-byte data;

and (12.3) storing the bulb serial number into the original bulb serial number data storage space, and executing the step (5).

Preferably, in this embodiment, when the abnormal information only upgrades the non-upgraded exposure counter of the scan control board, the exposure counter does not recognize the newly added serial number confirmation command, and the normal use is performed without any influence.

Preferably, in this embodiment, when the abnormal information only upgrades the exposure counter and does not upgrade the scan control board, the first address mark is not obtained, the scan control board is normally used, and the current recording information is not lost according to a new logic record after the next upgrade.

Preferably, in this embodiment, when the abnormal information is upgraded and the bulb replacement command is forgotten to be clicked, the serial number cannot be acquired, the verification information cannot be exposed, and the maintenance staff is prompted to write the serial number information.

The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:健康数据管理方法、设备及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!