Data protection method and system

The gravity acceleration sensor detects the status of the equipment and configures timing storage and data protection programs to solve the problem of data loss caused by falling medical equipment and realizes effective data protection.

CN115061956BActive Publication Date: 2025-08-29NANJING JUSHA DISPLAY TECH +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210680802.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-16
Publication Date
2025-08-29
Estimated Expiration
2042-06-16

AI Technical Summary

Technical Problem

In the prior art, medical equipment may easily lead to data loss when it falls unexpectedly, affecting the reading and recording of diagnostic images.

Method used

Gravity acceleration sensor is used to detect the device status, configure the timing storage function and data protection program, and use the timing storage and save hotkey to protect data before and after the device falls.

Benefits of technology

When the gravity acceleration sensor is not installed in the equipment, data is stored regularly to prevent accidental falls; when the sensor is installed, data in the falling state is detected and saved in real time to maximize data integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115061956B_ABST
    Figure CN115061956B_ABST
Patent Text Reader

Abstract

The present invention discloses a data protection method and system, belonging to the field of medical display technology. The method comprises: in response to detecting that a device is not equipped with a gravity acceleration sensor, turning on a timing storage function of the device, and saving data of a running subroutine at preset time intervals; in response to detecting that a gravity acceleration sensor is installed on the device and is in a falling state, saving data of a running subroutine; and protecting data in the running subroutine in the device to the greatest extent possible to prevent data loss due to an accidental fall of the device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a data protection method and system, and belongs to the technical field of medical display. Background Art

[0002] With the continuous advancement of medical technology, medical equipment is widely used by doctors to read and record diagnostic images, which places higher demands on medical equipment. However, during use, it is inevitable that the equipment will accidentally fall, resulting in the loss of unsaved data in the device, affecting the doctor's reading and recording of diagnostic images. Therefore, how to better protect device data is an important factor in promoting the continuous improvement of display functions. Summary of the Invention

[0003] The purpose of the present invention is to provide a data protection method and system to solve the problem of data loss caused by accidental falling of equipment in the prior art.

[0004] To achieve the above objectives, the present invention is implemented by adopting the following technical solutions:

[0005] In a first aspect, the present invention provides a data protection method, comprising:

[0006] In response to detecting that the device is not equipped with a gravity acceleration sensor, a timer storage function of the device is activated to save data of the running subroutine at preset time intervals;

[0007] In response to detecting that the device has been equipped with a gravity acceleration sensor and is in a falling state, data of the running subroutine is saved.

[0008] In combination with the first aspect, further, the data saving is achieved by starting a save hotkey in a pre-configured data protection program.

[0009] In combination with the first aspect, further, the gravity acceleration sensor is detected by the following method:

[0010] Get whether the device is equipped with a gravity acceleration sensor through the protocol.

[0011] In combination with the first aspect, further, the method includes the step of searching for the subroutine being run through a fuzzy query method.

[0012] In combination with the first aspect, further, the method for detecting the status of a device includes:

[0013] Get the acceleration measured by the gravity accelerometer. If the acceleration reaches the preset acceleration threshold three times in a row, the device is determined to be in free fall.

[0014] When the device is in a free fall state, the free fall height is calculated by the time measured by the gravity acceleration sensor. When the free fall height reaches a preset height threshold, the device is determined to be in a falling state.

[0015] In combination with the first aspect, further, the configuration of the data protection program includes: establishing a subprogram data storage directory.

[0016] In combination with the first aspect, further, when saving data, the data is saved in a temporary file under the subroutine data storage directory. If a temporary file already exists, it is overwritten and updated. If a temporary file does not exist, a new temporary file is created for data storage.

[0017] In a second aspect, the present invention further provides a data protection system, comprising:

[0018] A timing storage module is configured to, in response to detecting that the device is not equipped with a gravity acceleration sensor, activate the timing storage function of the device and save data of the running subroutine at preset time intervals;

[0019] Data protection module: used for saving data of the running subroutine in response to detecting that the device has been installed with a gravity acceleration sensor and is in a falling state.

[0020] In combination with the second aspect, further, a subroutine search module is included: used to find the running subroutine through a fuzzy query method.

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

[0022] The present invention provides a data protection method and system. When a device is not equipped with a gravity acceleration sensor, the device's timed storage function is enabled, and data of a running subroutine is saved at preset time intervals. Even if the device accidentally falls, the data in the running subroutine can be protected to the greatest extent to prevent data loss. When a gravity acceleration sensor is installed on the device, the device's status can be detected. When it is detected that the device is in a falling state, the data of the running subroutine can be saved to prevent data loss after the device is broken. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 This is a flow chart of a data protection method provided by an embodiment of the present invention;

[0024] Figure 2 This is a force analysis diagram of the device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention and are not intended to limit the scope of protection of the present invention.

[0026] Example 1

[0027] like Figure 1 As shown, an embodiment of the present invention provides a data protection method, including:

[0028] S1. In response to detecting that the device is not equipped with a gravity acceleration sensor, a timing storage function of the device is enabled to save data of a running subroutine at preset time intervals.

[0029] When implementing a data protection method provided by the present invention, a data protection program is pre-configured in the device. The configuration of the data protection program includes a subroutine for protecting data, a hotkey for saving the subroutine, a subroutine data storage directory, a timed storage function switch, and a timed storage period.

[0030] The protocol is used to obtain whether the device is equipped with a gravity acceleration sensor. When it is detected that the device is not equipped with a gravity acceleration sensor, the timed storage function switch in the pre-configured data protection program is turned on. The timed storage function can save the data of the running subroutine at preset time intervals (pre-configured timed storage period). Data saving is achieved by starting the save hotkey in the pre-configured data protection program.

[0031] The process name of the subprogram being run is found by a fuzzy query method, and it is determined whether there is a subprogram configuration that needs to protect data being run in the device. If so, a save hot key is activated.

[0032] When saving data, the data is saved in a temporary file under the data storage directory of the subroutine. If the temporary file already exists, it is overwritten and updated. If the temporary file does not exist, a new temporary file is created for data storage.

[0033] S2. In response to detecting that the device has been installed with a gravity acceleration sensor and is in a falling state, saving data of the running subroutine.

[0034] The protocol is used to obtain whether the device is equipped with a gravity acceleration sensor. When it is detected that the device is equipped with a gravity acceleration sensor, the device status is detected in real time:

[0035] Get the acceleration measured by the gravity accelerometer. If the acceleration reaches the preset acceleration threshold three times in a row, the device is determined to be in free fall.

[0036] When the device is in a free fall state, the free fall height is calculated by the time measured by the gravity acceleration sensor. When the free fall height reaches a preset height threshold, the device is determined to be in a falling state.

[0037] like Figure 2 As shown, when the device is stationary, the gravity acceleration sensor is in a 1g gravity field. For the acceleration component Ax of gravity g on the x-axis, the angle a between g and Ax can be obtained by the inverse cosine function arccos(Ax / g).

[0038] The acceleration components of each axis can be obtained from the three-axis accelerometer, and g= , so the angle between gravity and each axis can be calculated using a=arccos(A / g) (A is acceleration).

[0039] Ideally, in a 1g gravity field, the acceleration components on all axes in a free-fall state are all zero. Since accelerometers are mechanical components, errors are inevitable. Therefore, when the acceleration components on all axes are simultaneously less than 20 (LSB, the ADXL345 output data unit, with a sensitivity of 3.9mg / LSB), we can determine that the display is in a free-fall state.

[0040] When it is detected that the device is in a falling state, data of the running subroutine is saved, and the data saving is achieved by starting a save hot key in a pre-configured data protection program.

[0041] The process name of the subprogram being run is found by a fuzzy query method, and it is determined whether there is a subprogram configuration that needs to protect data being run in the device. If so, a save hot key is activated.

[0042] When saving data, the data is saved in a temporary file under the data storage directory of the subroutine. If the temporary file already exists, it is overwritten and updated. If the temporary file does not exist, a new temporary file is created for data storage.

[0043] Example 2

[0044] An embodiment of the present invention provides a data protection system, including:

[0045] A timing storage module is configured to, in response to detecting that the device is not equipped with a gravity acceleration sensor, activate the timing storage function of the device and save data of the running subroutine at preset time intervals;

[0046] Data protection module: used for saving data of the running subroutine in response to detecting that the device has been installed with a gravity acceleration sensor and is in a falling state.

[0047] A data protection system provided by an embodiment of the present invention further includes a subroutine search module: configured to search for a running subroutine through a fuzzy query method.

[0048] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0049] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0050] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0051] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0052] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A data protection method, characterized in that: include: In response to detecting that the device is not equipped with a gravity acceleration sensor, a timer storage function of the device is activated to save data of the running subroutine at preset time intervals; In response to detecting that the device has a gravity acceleration sensor installed and is in a falling state, saving data of the running subroutine; The data saving is achieved by starting a save hot key in a pre-configured data protection program; The gravity acceleration sensor is detected by the following method: Obtain whether the device is equipped with a gravity acceleration sensor through the protocol; The method also includes the steps of finding the subroutine being run by using a fuzzy query method; Methods for detecting device status include: Get the acceleration measured by the gravity accelerometer. If the acceleration reaches the preset acceleration threshold three times in a row, the device is determined to be in free fall. When the device is in free fall, the free fall height is calculated using the time measured by the gravity acceleration sensor. When the free fall height reaches the preset height threshold, the device is determined to be in a falling state. The configuration of the data protection program includes: establishing a subprogram data storage directory; When saving data, the data is saved in a temporary file under the data storage directory of the subroutine. If the temporary file already exists, it is overwritten and updated. If the temporary file does not exist, a new temporary file is created for data storage.

2. A data protection system, characterized in that: The method for executing the data protection method according to claim 1 comprises: A timing storage module is configured to, in response to detecting that the device is not equipped with a gravity acceleration sensor, activate the timing storage function of the device and save data of the running subroutine at preset time intervals; Data protection module: used for saving data of the running subroutine in response to detecting that the device has been installed with a gravity acceleration sensor and is in a falling state.

3. A data protection system according to claim 2, characterized in that: It also includes a subroutine search module: used to find the running subroutine through a fuzzy query method.

Citation Information

Patent Citations

  • Cache data protection method

    CN103678181A

  • Terminal drop protection method and system, equipment and storage medium

    CN114020131A