CN108766550A - Medical Devices end message store method, storage medium and Medical Devices terminal - Google Patents

Medical Devices end message store method, storage medium and Medical Devices terminal Download PDF

Info

Publication number
CN108766550A
CN108766550A CN201810240913.9A CN201810240913A CN108766550A CN 108766550 A CN108766550 A CN 108766550A CN 201810240913 A CN201810240913 A CN 201810240913A CN 108766550 A CN108766550 A CN 108766550A
Authority
CN
China
Prior art keywords
information
medical devices
broadcast
end message
described information
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.)
Granted
Application number
CN201810240913.9A
Other languages
Chinese (zh)
Other versions
CN108766550B (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

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 kind of Medical Devices end message store method, storage medium and Medical Devices terminal, judged whether to receive information broadcast by information process, if then setting process executes write operation to record information broadcast;Wherein, the execution priority for setting process is higher than the execution priority of information process.After information process receives information broadcast, it is not that the storage that write operation is completed to broadcast information is executed by information process, but start execution priority higher than the setting process of information process to complete the storage of information broadcast, if event of the generating system based on LMK mechanism clean up process during the preservation of information broadcast, even if information process is cleaned out since execution priority is relatively low, there is also the high setting processes of priority level to ensure that information can be executed normally by the process of write operation, complete the preservation of information, existing Medical Devices terminal is solved due to the technical issues of being caused short message to be lost by LMK mechanism controls.

Description

Medical Devices end message store method, storage medium and Medical Devices terminal
Technical field
The invention belongs to technical field of medical equipment, specifically, being to be related to a kind of Medical Devices end message preservation side Method, storage medium and Medical Devices terminal.
Background technology
Medical Devices terminal is generally configured with the functions such as remote data monitoring, data acquisition, is needed when collecting abnormal data Early warning is wanted, for example, exception information is sent to host by way of short message, alternatively, feedback data is adopted after receiving host instruction Collect situation.But if Medical Devices terminal device fails to normally receive information, abnormal conditions may be caused timely It is reported to host, or the instruction of host cannot be executed.
Most Medical Devices terminals is limited by cost, usually only meets basic communication requirement, memory in design It is usually all smaller, it is not suitable for running the larger application program of committed memory.In the design concept of such as android system, When application program exits, process also will continue to exist, and response speed be improved when to be again started up, but this design can bring one A problem:Each process has oneself independent memory address space, and as increasing for quantity is opened in application, system is used Memory is increasing, is just likely to result in Installed System Memory deficiency;For such case, there are the machines of all processes of management System, discharges process according to certain strategy, this mechanism is exactly low memory management mechanism, when remaining running memory is less than setting threshold When value, system can use LMK(Low Memory Killer)Mechanism internally deposits into capable release.
LMK mechanism itself is to when free memory is fewer, ensure that it is normal that foreground application and core system are applied Operation, but not too important application is thought for some systems, this mechanism advantage may result in dysfunction, for example short message is answered With although it belongs to system application, system thinks it not and be most crucial system application, so it is resident to be not provided with it The application of memory, and priority is nor too high, when memory is extremely low, if proper receive short message and preserve, system In order to ensure the function validity of foreground application, it is possible to short message is applied to being cleaned up, although it is also in background work, It is cleaned out in also failed preservation short message, this may result in short message loss.
Invention content
This application provides a kind of Medical Devices end messages to preserve control method, storage medium and Medical Devices terminal, Solve existing Medical Devices terminal due to short message using caused short message to be lost by LMK mechanism controls the technical issues of.
In order to solve the above technical problems, the application is achieved using following technical scheme:
It is proposed a kind of Medical Devices end message store method, including:Information process judges whether to receive information broadcast;If It is to start setting process to execute write operation, to record described information broadcast;Wherein, the execution priority of the setting process is high In the execution priority of described information process.
It is proposed a kind of storage medium, the execution step for storing Medical Devices end message store method;The medical treatment Device end information saving method, including:Information process judges whether to receive information broadcast;It is held if so, starting setting process Row write operates, to record described information broadcast;Wherein, the execution priority of the setting process holding higher than described information process Row major grade.
It is proposed a kind of Medical Devices terminal, including storage medium, the storage medium is for storing Medical Devices terminal letter Cease the execution step of store method;The Medical Devices end message store method, including:Information process judges whether to receive Information is broadcasted;If so, starting setting process executes write operation, to record described information broadcast;Wherein, the setting process is held Row major grade is higher than the execution priority of described information process.
Compared with prior art, the advantages of the application and good effect is:The Medical Devices end message that the application proposes In store method, storage medium and Medical Devices terminal, after the judgement of information process has received information broadcast, start setting Process executes the storage that write operation completes information broadcast, since the execution priority of setting process is excellent higher than the execution of information process First grade, then when system according to LMK mechanism clean up process come exented memory space when, even if information process due to execution priority compared with Low and be cleaned out, there is also the high setting processes of priority level can normally execute to ensure information by the process of write operation, complete At the preservation of information, existing Medical Devices terminal is solved since short message is using the technology for being led to short message loss by LMK mechanism controls Problem.
After the detailed description of the application embodiment is read in conjunction with the figure, other features and advantages of the application will become more Add clear.
Description of the drawings
Fig. 1 is the method flow diagram for the Medical Devices end message store method that the application proposes.
Specific implementation mode
The specific implementation mode of the application is described in more detail below in conjunction with the accompanying drawings.
It can be thought that not too important application cleans up by LMK mechanism at the time of appropriate, reach releasing memory space Which application is effect clear up and clear up at what moment, then determined by the ADJ values applied and system spare memory.
Specifically, there are one ADJ values, this ADJ value is used for characterizing for application and/or process distribution each of in systems Using and/or process execution priority, the usual value of ADJ values be -17 to 16, ADJ values it is bigger, it is corresponding application and/or The execution priority of process is lower, and vice versa;In general, the minus process of ADJ values is all system process.
System according to current system free memory number come decide whether carry out clean up process operation, that is, The driving node of system meeting monitoring system free memory will start clear when system spare memory is less than some memory threshold Reason process is begun a clean up.Specifically, an ADJ value can be corresponded to for the memory threshold of each setting, when system spare memory When less than some memory threshold, system will go to inquire the size of the corresponding ADJ values of this memory threshold, then begin a clean up ADJ values are more than the process of the ADJ values corresponding to memory threshold at this time, wherein the setting of memory threshold is all by Medical Devices end End manufacturer rule of thumb sets, for example, ADJ values and memory threshold shown in following table one correspondence:
Table one
A weighting DJ Memory threshold
0 36MB
100 48MB
200 60MB
300 72MB
900 200MB
906 290MB
When system, which listens to, saves as 290MB in system spare, LMK mechanism will start clean up process, clear up A weighting DJ first Value is more than 906 corresponding processes;When system, which listens to, saves as 200MB in system spare, LMK mechanism starts clean up process cleaning A weighting DJ values are more than 900 corresponding processes;When system, which listens to, saves as 50MB in system spare, LMK mechanism startup clear up into Cheng Qingli A weighting DJ values are more than 200 corresponding processes;Etc..
Do not have for the background service of special setting typically for some, A weighting DJ values are just 900, work as Medical Devices After terminal receives short message, during being preserved, corresponding A weighting DJ values are exactly 900, it is assumed that when in system spare When saving as 50MB, the process that A weighting DJ values are more than or equal to 200 can be cleared up, it, can at this time if information process does not operate on foreground Because its A weighting DJ is 900, corresponding memory threshold cleaning up much larger than 50MB and by maximum probability causes short message connecing It is just cleaned out during receiving without completing to preserve.
For a kind of above-mentioned, Medical Devices end message store method of the application proposition, as shown in Figure 1, including following step Suddenly:
Step S11:Information process judges whether to receive information broadcast.
By taking the android system of Medical Devices terminal as an example, usual information, first can be in system after modem receptions Raw tables are arrived in Framework layers of storage, and then by way of sending and broadcasting, information process is given content delivery.And then believe Process initiation information preservation sub-line journey is ceased to complete the storage of information.
In the embodiment of the present application, after information process receives information broadcast, do not restart information process and carry out letter The storage of breath, but first judge whether to receive information broadcast, when being judged as YES, execute step S12.
Step S12:Start setting process and executes write operation to record information broadcast.
After judging that information process receives information broadcast, do not restart storage of the information process into row information, but It is wide to record described information to execute write operation to start the execution priority setting process higher than the execution priority of information process It broadcasts.
The execution priority of the setting process is higher than the execution priority of information process, such as is executed in intelligent mobile phone system The PHONE processes of highest priority;The high process of execution priority is reliable, it is ensured that the process of write information can normally be held Row, will not be cleaned out under LMK mechanism;As it can be seen that since the execution priority of setting process is higher than information process in the application Execution priority, then when system according to LMK mechanism clean up process come exented memory space when, even if information process due to execute Priority is relatively low and is cleaned out, and there is also the high setting processes of priority level to ensure that information can be normal by the process of write operation It executes, completes the preservation of information, to solve existing Medical Devices terminal since short message by LMK mechanism controls using being led to short message The technical issues of loss.
Specifically, in step s 11, if the judgement of information process has received information broadcast, step S112 is first carried out: The extraction instruction of information preservation sub-line journey is sent to setting process so that setting process is receiving information preservation sub-line journey extraction After instruction, the information preservation sub-line journey in information process is extracted in the setting process and is executed, and in addition to information preservation Information process except thread still has lower execution priority, can be from the background cleaned according to memory requirements.
Preferably, before the information process of Medical Devices terminal judges whether to receive information broadcast or Framework Layer upload information broadcast before, the application propose Medical Devices end message store method can also by call clear up into The mode in journey releasing memory space provides sufficient memory for information process.
For example, when system spare memory is more than 200MB, background process is begun a clean up according to LMK mechanism, usually according to LMK mechanism would not go cleaning information process, in fact, when reaching 100MB, the probability of cleaning information process just drops significantly It is low.
After the judgement of information process has received information broadcast in step s 12, the Medical Devices terminal of the application proposition Information saving method also executes step S15:Judge whether system spare memory is less than given threshold, is less than in system spare memory When given threshold, step S16:Start clean up process and is more than given threshold at this time to delete the ADJ values including information process The process of corresponding ADJ values, to achieve the purpose that releasing memory space.
If that is, system listen to system spare memory be less than given threshold, to based on LMK mechanism startup clear up into Journey, clean up process clear up null process and/or background process with releasing memory space, such as when system spare memory is more than 50MB When, background process is begun a clean up according to LMK mechanism, information process is cleaned up, but because of information preservation sub-line journey by executing The high setting process of priority executes, and setting process is not cleaned, to ensure that information is saved.
After Medical Devices terminal starts setting process execution write operation to record information broadcast, the doctor of the application proposition It further includes step S13 to treat device end information saving method:Setting process judges whether information broadcast preserves success;If so, step Rapid S14:Feedback information is sent to information process.
After setting process recalls information preserves sub-line journey execution write operation, judge whether information broadcast preserves success, if protecting It is saved as work(and sends feedback information to information process, feedback information notification progress information broadcast preserves successfully;And for Information process, whether monitoring receives the feedback information, after listening to the feedback information, then can continue to execute such as logical Know that the interfaces UI receive information broadcast and notify the operations such as information broadcast.
The application also protects a kind of storage medium, and the storage medium is for storing Medical Devices end message set forth above The execution step of store method;And protection it is a kind of include the storage medium Medical Devices terminal, execute set forth above Medical Devices end message store method is not to be executed by information process after information process receives information broadcast Write operation completes the storage broadcasted information, but starts execution priority and complete information higher than the setting process of information process The storage of broadcast, if event of the generating system based on LMK mechanism clean up process during the preservation of information broadcast, even if information Process is cleaned out since execution priority is relatively low, and there is also the high setting processes of priority level to ensure information by write operation Process can normally execute, complete the preservation of information, solve existing Medical Devices terminal due to short message apply by LMK mechanism controls The technical issues of causing short message to be lost.
It should be noted that it is limitation of the present invention that above description, which is not, the present invention is also not limited to the example above, The variations, modifications, additions or substitutions that those skilled in the art are made in the essential scope of the present invention, are also answered It belongs to the scope of protection of the present invention.

Claims (8)

1. Medical Devices end message store method, the Medical Devices terminal is for receiving information, which is characterized in that including:
Information process judges whether to receive information broadcast;If so,
Start setting process and execute write operation, to record described information broadcast;
Wherein, the execution priority of the setting process is higher than the execution priority of described information process.
2. Medical Devices end message store method according to claim 1, which is characterized in that sentence in described information process After disconnecting has received information broadcast, the method further includes:
The extraction instruction of information preservation sub-line journey is sent to the setting process.
3. Medical Devices end message store method according to claim 2, which is characterized in that the startup setting process Write operation is executed, specially:
The setting process protects the information in described information process after receiving described information and preserving sub-line journey extraction instruction It deposits sub-line journey and extracts and executed in the setting process.
4. Medical Devices end message store method according to claim 1, which is characterized in that held starting setting process After row write operation is to record described information broadcast, the method further includes:
Judge whether described information broadcast preserves success;If so,
Feedback information is sent to described information process.
5. Medical Devices end message store method according to claim 4, which is characterized in that described information process After sending feedback information, the method includes:
Whether the monitoring of described information process receives the feedback information;If so,
Interface is updated to notify described information to broadcast.
6. Medical Devices end message store method according to claim 1, which is characterized in that sentence in described information process After disconnecting receives information broadcast, the method further includes:
Judge whether system spare memory is less than given threshold;If so,
Start clean up process and deletes described information process.
7. a kind of storage medium, which is characterized in that set for storing the medical treatment as described in any one of claim 1-6 claim Execution step described in standby end message store method.
8. a kind of Medical Devices terminal, which is characterized in that include storage medium as claimed in claim 6, described in operation Medical Devices end message store 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 true CN108766550A (en) 2018-11-06
CN108766550B 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 (11)

* 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
CN106530438A (en) * 2016-09-26 2017-03-22 浙江大学宁波理工学院 Massive and real-time tachograph data collection method and system
CN106936825A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of method for controlling broadcast transmission, device and mobile terminal
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
US20170286171A1 (en) * 2016-03-31 2017-10-05 Padmashree K. Apparao Memory management
CN107294843A (en) * 2017-07-17 2017-10-24 北京奇安信科技有限公司 A kind of instant communication information processing method and processing device
US20170337520A1 (en) * 2016-05-18 2017-11-23 Sandra SPENCER System and method for transmission of appointment data
CN107463435A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Application process priority management method, apparatus, storage medium and electronic equipment
CN107800546A (en) * 2016-08-31 2018-03-13 华为技术有限公司 The management method and device of a kind of broadcast message

Patent Citations (11)

* 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
US20170286171A1 (en) * 2016-03-31 2017-10-05 Padmashree K. Apparao Memory management
US20170337520A1 (en) * 2016-05-18 2017-11-23 Sandra SPENCER System and method for transmission of appointment data
CN107800546A (en) * 2016-08-31 2018-03-13 华为技术有限公司 The management method and device of a kind of broadcast message
CN106530438A (en) * 2016-09-26 2017-03-22 浙江大学宁波理工学院 Massive and real-time tachograph data collection method and system
CN106933660A (en) * 2017-02-17 2017-07-07 广州启生信息技术有限公司 The implementation method of application process keep-alive under a kind of Android platform
CN106936825A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of method for controlling broadcast transmission, device and mobile terminal
CN107193674A (en) * 2017-06-29 2017-09-22 武汉斗鱼网络科技有限公司 The processing method and processing device of online PUSH message
CN107294843A (en) * 2017-07-17 2017-10-24 北京奇安信科技有限公司 A kind of instant communication information processing method and processing device
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
CN108766550B (en) 2022-06-28

Similar Documents

Publication Publication Date Title
CN102238595B (en) Method and equipment for processing cell outage
CN105792335B (en) A kind of method and terminal device improving cruise duration
US20180321733A1 (en) Terminal-Based Wakelock Control Method and Apparatus and Terminal
CN103902399B (en) Software system repair processing method and software system repair processing device
CN104142844A (en) Method and device for clearing processes of mobile terminal
CN105407475B (en) configuration file enables processing method and eUICC
CN101917263A (en) Multi-machine hot standby method and system
CN106897125A (en) Smart machine and its management method of service or application
CN102609327A (en) Method and device for improving reliability of multi-core processor
CN102571850A (en) Transaction committing system, method and equipment
CN108984195B (en) Software upgrading method and device
CN105871399A (en) Radio-frequency communication module, radio-frequency front-end module and control method thereof
CN103605620B (en) Cluster storage data protective method and device
CN113660633A (en) Vehicle network connection dialing method and device
CN108766550A (en) Medical Devices end message store method, storage medium and Medical Devices terminal
JP2005047342A (en) Vehicle control device and vehicle control system
CN107257496A (en) A kind of live control method, device and mobile terminal
CN112084159A (en) File synchronization system and method based on Bluetooth communication
CN101166334B (en) Method for remote RF unit to record information in radio communication system
CN110543376A (en) Android system equipment fault self-repairing method and android system equipment
CN112311621B (en) Communication detection method and device
CN102594449B (en) Implementation system and method of multipath calculating element cooperation in optical networks
US11687140B2 (en) Broadcast control method for frozen applications
CN103763115B (en) Method and device for processing protocol message
CN113942823A (en) Method and device for determining faults of blanking device and blanking system

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