CN108766550B - Medical equipment terminal information saving method, storage medium and medical equipment terminal - Google Patents

Medical equipment terminal information saving method, storage medium and medical equipment terminal Download PDF

Info

Publication number
CN108766550B
CN108766550B CN201810240913.9A CN201810240913A CN108766550B CN 108766550 B CN108766550 B CN 108766550B CN 201810240913 A CN201810240913 A CN 201810240913A CN 108766550 B CN108766550 B CN 108766550B
Authority
CN
China
Prior art keywords
information
broadcast
medical equipment
medical device
equipment terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810240913.9A
Other languages
Chinese (zh)
Other versions
CN108766550A (en
Inventor
李和意
张博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Medical Equipment Co Ltd
Original Assignee
Qingdao Hisense Medical Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Medical Equipment Co Ltd filed Critical Qingdao Hisense Medical Equipment Co Ltd
Priority to CN201810240913.9A priority Critical patent/CN108766550B/en
Publication of CN108766550A publication Critical patent/CN108766550A/en
Application granted granted Critical
Publication of CN108766550B publication Critical patent/CN108766550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • G16H40/67ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for remote operation

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Retry When Errors Occur (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a medical equipment terminal information storage method, a storage medium and a medical equipment terminal.A process of information judges whether information broadcast is received or not, if so, the process is set to execute write operation to record the information broadcast; wherein the execution priority of the set process is higher than the execution priority of the information process. After the information process receives the information broadcast, the information process executes the write operation to finish the storage of the information broadcast, but starts a setting process with the execution priority higher than that of the information process to finish the storage of the information broadcast, if an event that a system cleans the process based on an LMK mechanism occurs in the storage process of the information broadcast, even if the information process is cleaned due to the lower execution priority, the setting process with the high priority also exists to ensure that the process of the information write operation can be normally executed, the storage of the information is finished, and the technical problem that the short message is lost due to the fact that the existing medical equipment terminal is controlled by the LMK mechanism is solved.

Description

Medical equipment terminal information saving method, storage medium and medical equipment terminal
Technical Field
The invention belongs to the technical field of medical equipment, and particularly relates to a medical equipment terminal information storage method, a storage medium and a medical equipment terminal.
Background
The medical equipment terminal usually has functions of remote data monitoring, data acquisition and the like, and when abnormal data are acquired, early warning is needed, for example, abnormal information is sent to a host in a short message mode, or data acquisition conditions are fed back after a host instruction is received. However, if the medical device terminal device fails to receive the information normally, an abnormal condition may not be reported to the host in time, or an instruction of the host may not be executed.
Most medical equipment terminals are limited by cost, usually only basic communication requirements are met in design, and the memory is usually small and is not suitable for running application programs occupying large memory. In the design concept such as the Android system, when the application program exits, the process can still exist so as to improve the response speed when the application program is started again, but the design has a problem: each process has an independent memory address space, and as the number of applications to be opened increases, the used memory of the system is larger and larger, so that the shortage of the system memory is possibly caused; for this situation, there is a mechanism for managing all processes, and the processes are released according to a certain policy, this mechanism is a low Memory management mechanism, and when the remaining running Memory is smaller than a set threshold, the system will release the Memory by using an lmk (low Memory killer) mechanism.
The LMK mechanism is used for ensuring normal operation of foreground applications and core system applications when the remaining memory is small, but for some applications considered to be less important by the system, the mechanism has the advantage of causing function abnormality, such as a short message application, although the LMK mechanism belongs to the system application, the LMK mechanism considers that the LMK mechanism is not the most core system application, so that the LMK mechanism is not set as an application of a resident memory and is not too high in priority, when the memory is extremely low, if the short message is received and stored, the LMK mechanism may clear the short message application to ensure the functional validity of the foreground application, and although the LMK mechanism works in the background, the LMK mechanism is cleared when the short message is not successfully stored, so that the short message is lost.
Disclosure of Invention
The application provides a medical equipment terminal information storage control method, a storage medium and a medical equipment terminal, which solve the technical problem that short messages are lost due to the fact that short message application of an existing medical equipment terminal is controlled by an LMK mechanism.
In order to solve the technical problem, the application adopts the following technical scheme to realize:
the medical equipment terminal information storage method comprises the following steps: the information process judges whether the information broadcast is received; if yes, starting a setting process to execute writing operation so as to record the information broadcast; wherein the execution priority of the setting process is higher than the execution priority of the information process.
A storage medium is provided for storing the execution steps of the medical equipment terminal information saving method; the medical equipment terminal information storage method comprises the following steps: the information process judges whether the information broadcast is received; if yes, starting a setting process to execute writing operation so as to record the information broadcast; wherein the execution priority of the setting process is higher than the execution priority of the information process.
The medical equipment terminal comprises a storage medium, a processing unit and a processing unit, wherein the storage medium is used for storing the execution steps of the medical equipment terminal information storage method; the medical equipment terminal information storage method comprises the following steps: the information process judges whether the information broadcast is received; if yes, starting a setting process to execute writing operation so as to record the information broadcast; wherein the execution priority of the setting process is higher than the execution priority of the information process.
Compared with the prior art, the application has the advantages and positive effects that: in the medical equipment terminal information storage method, the storage medium and the medical equipment terminal provided by the application, after the information process judges that the information broadcast is received, the setting process is started to execute the write operation to finish the storage of the information broadcast, because the execution priority of the setting process is higher than the execution priority of the information process, when the system cleans the process according to the LMK mechanism to expand the memory space, even if the information process is cleaned due to lower execution priority, the setting process with high priority also exists to ensure that the process of the write operation of the information can be normally executed to finish the storage of the information, and the technical problem that the short message is lost due to the fact that the short message application of the traditional medical equipment terminal is controlled by the LMK mechanism is solved.
Other features and advantages of the present application will become more apparent from the detailed description of the embodiments of the present application when taken in conjunction with the accompanying drawings.
Drawings
Fig. 1 is a flowchart of a method for storing information of a medical device terminal according to the present application.
Detailed Description
The following describes embodiments of the present application in further detail with reference to the accompanying drawings.
The LMK mechanism will clean up applications that it considers less important at the appropriate time, achieving the effect of freeing memory space, at what time to clean up, and which applications to clean up, is determined by the ADJ value of the application and the remaining memory of the system.
Specifically, each application and/or process in the system is assigned an ADJ value, which is used to characterize the execution priority of the application and/or process, the ADJ value is usually-17 to 16, and the larger the ADJ value, the lower the execution priority of the corresponding application and/or process, and vice versa; typically, processes with ADJ values less than zero are all system processes.
The system determines whether the operation of the cleaning process needs to be performed according to the amount of the remaining memory of the current system, that is, the system monitors the driving nodes of the remaining memory of the system, and when the remaining memory of the system is lower than a certain memory threshold, the system starts the cleaning process to start cleaning. Specifically, each set memory threshold corresponds to an ADJ value, and when the remaining memory of the system is lower than a certain memory threshold, the system queries the size of the ADJ value corresponding to the memory threshold, and then starts a process of cleaning the ADJ value larger than the ADJ value corresponding to the memory threshold, where the memory threshold is set by the medical device terminal manufacturer according to experience, for example, the correspondence between the ADJ value and the memory threshold shown in the following table:
Watch 1
Weighted ADJ Memory threshold
0 36MB
100 48MB
200 60MB
300 72MB
900 200MB
906 290MB
When the system monitors that the residual memory of the system is 290MB, the LMK mechanism starts a cleaning process, and firstly, the process corresponding to the weighted ADJ value which is greater than 906 is cleaned; when the system monitors that the residual memory of the system is 200MB, the LMK mechanism starts a cleaning process to clean the process corresponding to the condition that the ADJ value is larger than 900; when the system monitors that the residual memory of the system is 50MB, the LMK mechanism starts a cleaning process to clean the process corresponding to the weight ADJ value which is more than 200; and so on.
Generally, for some background services which are not specially set, the weighted ADJ value is 900, when the medical device terminal receives a short message and stores the short message, the corresponding weighted ADJ value is 900, it is assumed that when the remaining memory of the system is 50MB, a process with the weighted ADJ value being greater than or equal to 200 is cleaned, and at this time, if the information process is not operated in the foreground, the short message is cleaned up with a high probability because the weighted ADJ is 900 and the corresponding memory threshold value is greater than 50MB, so that the short message is cleaned up without being stored in the receiving process.
In view of the above, the present application provides a method for storing information of a medical device terminal, as shown in fig. 1, including the following steps:
Step S11: the information process determines whether an information broadcast is received.
Taking the Android system of the medical device terminal as an example, after receiving information from the modem, the information is first stored in a raw table in a Framework layer of the system, and then information content is transmitted to an information process in a broadcast sending mode. And the information process starts an information storage sub-thread to complete the storage of the information.
In the embodiment of the present application, after the information process receives the information broadcast, the information process is not started to store the information, but it is determined whether the information broadcast is received, and if yes, step S12 is executed.
Step S12: and starting a setting process to execute writing operation to record information broadcast.
And after the information process receives the information broadcast, the information process is not started to store the information, but a set process with higher execution priority than the information process is started to execute write operation to record the information broadcast.
The execution priority of the set process is higher than that of the information process, for example, a PHONE process with the highest execution priority in a smart PHONE system; the process with high execution priority is reliable, so that the process of writing information can be normally executed and cannot be cleaned under an LMK mechanism; therefore, in the application, because the execution priority of the set process is higher than that of the information process, when the system clears the process according to the LMK mechanism to expand the memory space, even if the information process is cleared due to lower execution priority, the set process with high priority is still present to ensure that the process of writing the information can be normally executed and complete the storage of the information, so that the technical problem that the short message is lost due to the fact that the short message application of the conventional medical equipment terminal is controlled by the LMK mechanism is solved.
Specifically, in step S11, if the information process determines that the information broadcast is received, first, step S112 is executed: and sending an information saving sub-thread extracting instruction to the setting process, so that the setting process extracts the information saving sub-thread in the information process into the setting process to be executed after receiving the information saving sub-thread extracting instruction, and the information process except the information saving sub-thread still has lower execution priority and can be cleaned in the background according to the memory requirement.
Preferably, before the information process of the medical equipment terminal judges whether the information broadcast is received or not, or before the Framework layer uploads the information broadcast, the medical equipment terminal information storage method provided by the application can also provide sufficient memory for the information process by calling the cleaning process to release the memory space.
For example, when the remaining memory of the system exceeds 200MB, the background process is cleaned according to the LMK mechanism, and usually the information process is not cleaned according to the LMK mechanism, and actually, when the remaining memory of the system reaches 100MB, the probability of cleaning the information process is greatly reduced.
After the information process determines in step S12 that the information broadcast is received, the medical device terminal information saving method according to the present application further performs step S15: judging whether the system residual memory is lower than a set threshold, and if the system residual memory is lower than the set threshold, performing step S16: and starting a cleaning process to delete the process of which the ADJ value including the information process is larger than the ADJ value corresponding to the set threshold value at the moment so as to achieve the purpose of releasing the memory space.
That is, if the system monitors that the system residual memory is less than the set threshold, the cleaning process is started based on the LMK mechanism, and the cleaning process cleans the empty process and/or the background process to release the memory space, for example, when the system residual memory exceeds 50MB, the cleaning process is started according to the LMK mechanism to clean the background process, so that the information process is cleaned, but because the information storage sub-thread is executed by the set process with high execution priority, the set process is not cleaned, so that the information is ensured to be stored.
After the medical device terminal starts the setting process to perform the writing operation to record the information broadcast, the medical device terminal information saving method provided by the present application further includes step S13: setting a process to judge whether the information broadcast is successfully stored; if yes, step S14: and sending feedback information to the information process.
After the process is set to call the information storage sub-thread to execute the write operation, judging whether the information broadcast is successfully stored, if the information broadcast is successfully stored, sending feedback information to the information process, and informing the information process that the information broadcast is successfully stored by the feedback information; and for the information process, whether the feedback information is received or not is monitored, and after the feedback information is monitored, operations such as informing the UI interface of receiving the information broadcast and informing the UI interface of the information broadcast can be continuously executed.
The application also protects a storage medium which is used for storing the execution steps of the medical equipment terminal information storage method; after the information process receives the information broadcast, the information process does not execute writing operation to finish the storage of the information broadcast, but starts a setting process with execution priority higher than that of the information process to finish the storage of the information broadcast, if an event that a system cleans the process based on an LMK mechanism occurs in the storage process of the information broadcast, even if the information process is cleaned due to lower execution priority, the setting process with high priority also exists to ensure that the process of the information writing operation can be normally executed to finish the storage of the information, and the technical problem that the short message is lost due to the fact that the short message application of the traditional medical equipment terminal is controlled by the LMK mechanism is solved.
It should be noted that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art should also make changes, modifications, additions or substitutions within the spirit and scope of the present invention.

Claims (8)

1. The medical equipment terminal information storage method is characterized by comprising the following steps of:
the information process judges whether the information broadcast is received; if so, the user can use the method,
starting a setting process to execute write operation so as to record the information broadcast;
wherein the execution priority of the setting process is higher than the execution priority of the information process.
2. The medical device terminal information saving method according to claim 1, wherein after the information process judges that the information broadcast is received, the method further comprises:
and sending an information storage sub-thread extraction instruction to the set process.
3. The medical device terminal information saving method according to claim 2, wherein the start setting process performs a write operation, specifically:
and after receiving the information saving sub-thread extracting instruction, the setting process extracts the information saving sub-thread in the information process into the setting process for execution.
4. The medical device terminal information saving method according to claim 1, wherein after a setting process is started to perform a write operation to record the information broadcast, the method further comprises:
Judging whether the information broadcast is successfully stored; if so,
and sending feedback information to the information process.
5. The medical device terminal information saving method according to claim 4, wherein after sending feedback information to the information process, the method includes:
the information process monitors whether the feedback information is received or not; if so,
updating an interface to inform the information broadcast.
6. The medical device terminal information saving method according to claim 1, wherein after the information process judges that the information broadcast is received, the method further comprises:
judging whether the residual memory of the system is lower than a set threshold value or not; if so,
and starting a cleaning process to delete the information process.
7. A computer-readable storage medium having stored thereon a computer program which, when executed, implements the steps of performing the medical device terminal information holding method according to any one of claims 1 to 6.
8. A medical device terminal characterized by comprising the computer-readable storage medium according to claim 7 to execute the medical device terminal information saving method.
CN201810240913.9A 2018-03-22 2018-03-22 Medical equipment terminal information saving method, storage medium and medical equipment terminal Active CN108766550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810240913.9A CN108766550B (en) 2018-03-22 2018-03-22 Medical equipment terminal information saving method, storage medium and medical equipment terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810240913.9A CN108766550B (en) 2018-03-22 2018-03-22 Medical equipment terminal information saving method, storage medium and medical equipment terminal

Publications (2)

Publication Number Publication Date
CN108766550A CN108766550A (en) 2018-11-06
CN108766550B true CN108766550B (en) 2022-06-28

Family

ID=63980191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810240913.9A Active CN108766550B (en) 2018-03-22 2018-03-22 Medical equipment terminal information saving method, storage medium and medical equipment terminal

Country Status (1)

Country Link
CN (1) CN108766550B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270763A (en) * 2014-10-27 2015-01-07 中国建设银行股份有限公司 Message protection method and system
CN105718791A (en) * 2014-12-01 2016-06-29 Tcl集团股份有限公司 Method and apparatus for protecting application program data
CN106933660A (en) * 2017-02-17 2017-07-07 广州启生信息技术有限公司 The implementation method of application process keep-alive under a kind of Android platform
CN107193674A (en) * 2017-06-29 2017-09-22 武汉斗鱼网络科技有限公司 The processing method and processing device of online PUSH message
CN107463435A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Application process priority management method, apparatus, storage medium and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10133601B2 (en) * 2016-03-31 2018-11-20 Intel Corporation Memory management
US20170337520A1 (en) * 2016-05-18 2017-11-23 Sandra SPENCER System and method for transmission of appointment data
CN107800546B (en) * 2016-08-31 2021-03-30 华为技术有限公司 Management method and device for broadcast messages
CN106530438B (en) * 2016-09-26 2018-12-18 浙江大学宁波理工学院 A kind of real-time automobile data recorder collecting method of magnanimity and system
CN106936825B (en) * 2017-03-10 2021-07-27 Oppo广东移动通信有限公司 Method and device for controlling broadcast transmission and mobile terminal
CN107294843A (en) * 2017-07-17 2017-10-24 北京奇安信科技有限公司 A kind of instant communication information processing method and processing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270763A (en) * 2014-10-27 2015-01-07 中国建设银行股份有限公司 Message protection method and system
CN105718791A (en) * 2014-12-01 2016-06-29 Tcl集团股份有限公司 Method and apparatus for protecting application program data
CN106933660A (en) * 2017-02-17 2017-07-07 广州启生信息技术有限公司 The implementation method of application process keep-alive under a kind of Android platform
CN107193674A (en) * 2017-06-29 2017-09-22 武汉斗鱼网络科技有限公司 The processing method and processing device of online PUSH message
CN107463435A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Application process priority management method, apparatus, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108766550A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN103092700B (en) Internal memory method for cleaning, device and terminal unit
CN109240765B (en) Fusing method, device and equipment for service resources and computer readable storage medium
US9164748B2 (en) Information backup method and apparatus
CN104503828A (en) Process management method and terminal
EP3418892B1 (en) Method and device for managing and controlling broadcast, and terminal
CN106170013B (en) A kind of Kafka message uniqueness method based on Redis
US9571333B2 (en) Network device and method for maintaining network connection
CN110943855A (en) Method for realizing state recovery after shutdown of server through BMC
CN108766550B (en) Medical equipment terminal information saving method, storage medium and medical equipment terminal
CN109299045B (en) Log storage method, device and equipment and readable storage medium
CN112612635B (en) Multi-level protection method for application program
CN113759790A (en) System optimization method and device for unmanned equipment
CN107479900B (en) Hot plug software scheme suitable for real-time operating system
CN112084159A (en) File synchronization system and method based on Bluetooth communication
CN111782347A (en) Mobile phone application keep-alive method, device and system and storage medium
CN101662382A (en) Method and system for restraining oscillating alarm reporting in network management system
CN109361620B (en) Data sending method, device, equipment and storage medium
EP2455864A1 (en) System and method for multimedia messaging service processing
CN111198911B (en) Data extraction method
CN106331036B (en) Server control method and device
CN102111427B (en) Device management session recovery method and system
CN110865873A (en) Dynamic shutdown and recovery method for virtual machine resources
CN105472141A (en) Interface record method and interface record equipment for intelligent terminal
CN103259905A (en) Cell-phone smart recovery method and system
CN107967181A (en) The control method and device of critical zone

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant