CN114816760B - Interactive nursing billboard system and storage medium - Google Patents

Interactive nursing billboard system and storage medium Download PDF

Info

Publication number
CN114816760B
CN114816760B CN202210524607.4A CN202210524607A CN114816760B CN 114816760 B CN114816760 B CN 114816760B CN 202210524607 A CN202210524607 A CN 202210524607A CN 114816760 B CN114816760 B CN 114816760B
Authority
CN
China
Prior art keywords
patient
heap memory
heap
nursing
application program
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
CN202210524607.4A
Other languages
Chinese (zh)
Other versions
CN114816760A (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.)
Lankao Fuyang Hospital Co ltd
Original Assignee
Lankao Fuyang Hospital 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 Lankao Fuyang Hospital Co ltd filed Critical Lankao Fuyang Hospital Co ltd
Priority to CN202210524607.4A priority Critical patent/CN114816760B/en
Publication of CN114816760A publication Critical patent/CN114816760A/en
Application granted granted Critical
Publication of CN114816760B publication Critical patent/CN114816760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0253Garbage collection, i.e. reclamation of unreferenced memory
    • 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
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention provides an interactive nursing billboard system, which is used for detecting the operation of a nursing billboard application program, and when detecting that the profile information of a patient is added or deleted in the nursing billboard application program, adding or recycling the heap memory in a first preset mode; detecting operation of checking detailed information of a patient, monitoring whether the MajorGC or the FullGC is triggered, if yes, starting a STW timer, timing STW time of the MajorGC or the FullGC, if the STW time is greater than a threshold value, skipping GC of a heap memory area bound with the patient, collecting detailed information from the operation of triggering the check of the detailed information of the patient to complete display of the detailed information in a nursing billboard application program, and adjusting heap memory configured by the JVM according to heap memory change conditions. The invention optimizes the heap memory corresponding to the nursing billboard application program and prevents the nursing billboard application program from having a long-time STW during GC.

Description

Interactive nursing billboard system and storage medium
Technical Field
The invention relates to the field of medical treatment, in particular to a nursing document system and a nursing billboard data synchronization method and system.
Background
The construction of hospital informatization provides a lot of convenience for medical staff, does not need to write by hand when doctors prescribe an order, can be completed by clicking on a computer, can rapidly complete medicine taking by only scanning the two-dimensional code when taking medicine in a pharmacy, and can complete the acquisition of the order and the daily information of patients by a nurse handheld terminal, so that the workload of doctors and nurses is reduced. The nursing billboard is one of the systems commonly used in the nurse workstation, patient information is displayed on the nursing billboard, the most original nursing billboard is in a handwriting mode of a nurse, handwriting errors are easy to occur, continuous updating is needed, and the like, so that a plurality of workloads are brought to staff of the nurse workstation, the problem is greatly solved, after the data of the nursing document system is updated, the data of the electronic nursing billboard can be updated in real time, and special maintenance of nursing billboard data is not needed.
The current electronic nursing billboard is mainly used for displaying information, medical staff can not operate, and when the detailed information of a patient needs to be checked when a shift is carried out and the like, the details of the patient need to be checked by a handheld nursing terminal. The interactive electronic nursing billboard not only can display patient information, but also realizes that medical staff inquires the detailed information of the patient on the billboard, the wall-mounted electronic nursing billboard can select the patient information to be checked through the remote controller, and the floor-type electronic nursing billboard can select the patient information to be checked through the touch screen. The interactive electronic nursing signboard is very convenient for medical staff to check, especially for the processes of shift and the like. However, the interactive electronic nursing board is easy to get stuck and the like when in use, and particularly, when garbage is recovered to the nursing board application program, how to reduce inconvenience brought to medical workers due to the stuck caused by garbage recovery is a problem to be solved in the field.
Disclosure of Invention
To solve the above problems, in a first aspect, the present invention provides an interactive care sign system, comprising the following modules:
the operation judgment module is used for detecting the operation of the nursing billboard application program, and when detecting that the profile information of one patient is added or deleted in the nursing billboard application program, the heap memory is added or recovered in a first preset mode; executing a detail viewing module when detecting that the medical staff operates the nursing billboard application program through a remote controller or a touch screen;
the detail checking module detects operation of checking detailed information of a patient, monitors whether the Major GC or the Full GC is triggered, if yes, starts a STW timer, counts STW time of the Major GC or the Full GC, skips the GC of a heap memory area bound with the patient if the STW time is larger than a threshold value, collects the detailed information from the operation of triggering the checking of the detailed information of the patient to the complete display of the detailed information in a nursing billboard application program, and adjusts heap memory configured by the JVM according to the heap memory change condition.
Preferably, the first preset method increases or recovers heap memory, specifically:
calculating the heap memory size and objects corresponding to the patient, which are increased in the heap generation of the JVM corresponding to the nursing board application program after the profile information of the first patient is added in the nursing board application program and after age threshold (MaxTenuingthreshold) times of Young GC, opening up the heap memory area of the heap memory size in the elderly generation of the heap area after the profile information of the new patient is added in the nursing board application program, binding the heap memory area with the patient, and then placing the objects in the elderly generation of the heap area; triggering a Young GC once when the patient is deleted from the care sign application, and recycling the heap memory area bound with the patient;
the object corresponding to the patient refers to an object in the same life cycle as the patient displayed in the nursing billboard application.
Preferably, the adjusting the heap memory configured by the JVM according to the heap memory change condition specifically includes:
if the occupied space in the old age of the heap memory is increased by H, the heap memory configured by the JVM is adjusted according to the number of patients, the H and the heap memory size;
if occupied space is reduced in the old age of heap memory, the heap memory configured by the JVM is not adjusted.
Preferably, the adjusting the heap memory configured by the JVM according to the patient number, the H, and the heap memory size specifically includes:
according to the formula Heap1=N patien ·Heap patien Calculating the first occupied space Heap1 in the old age according to the formula
Figure BDA0003643636050000021
Calculating increased age size H add The method comprises the steps of carrying out a first treatment on the surface of the Wherein N is patien Representing the number of patients, heap patien Representing the Heap Memory size, the Heap Memory age size configured by Heap for JVM, memory idle And the memory idle rate of the equipment where the nursing board application program is located is set.
Preferably, the detail viewing module further includes a Young age threshold adjustment module for adjusting the Young age threshold according to the number of times Young GC occurs when the profile information of the first patient is added to the nursing bulletin application.
In another aspect, the present invention provides a non-volatile computer storage medium having instructions stored therein that, when run on an Android-based interactive care sign system, cause a processor to perform the method of:
detecting operation of a nursing billboard application program, and when detecting that the profile information of a patient is added or deleted in the nursing billboard application program, adding or recycling the heap memory in a first preset mode; when detecting that the medical staff operates the nursing billboard application program through the remote controller or the touch screen, executing the second step;
step two, detecting the operation of checking the detailed information of the patient, monitoring whether to trigger the Major GC or the Full GC, if yes, starting a STW timer, counting the STW time of the Major GC or the Full GC, if the STW time is larger than a threshold value, skipping the GC of a heap memory area bound with the patient, collecting the detailed information from the operation of checking the detailed information of the patient, and completely displaying the detailed information in a nursing signboard application program, wherein the heap memory change condition is used for adjusting the heap memory configured by the JVM according to the heap memory change condition.
Preferably, the first preset method increases or recovers heap memory, specifically:
calculating the heap memory size and objects corresponding to the patient, which are increased in the heap generation of the JVM corresponding to the nursing board application program after the profile information of the first patient is added in the nursing board application program and after age threshold (MaxTenuingthreshold) times of Young GC, opening up the heap memory area of the heap memory size in the elderly generation of the heap area after the profile information of the new patient is added in the nursing board application program, binding the heap memory area with the patient, and then placing the objects in the elderly generation of the heap area; triggering a Young GC once when the patient is deleted from the care sign application, and recycling the heap memory area bound with the patient;
the object corresponding to the patient refers to an object in the same life cycle as the patient displayed in the nursing billboard application.
Preferably, the adjusting the heap memory configured by the JVM according to the heap memory change condition specifically includes:
if the occupied space in the old age of the heap memory is increased by H, the heap memory configured by the JVM is adjusted according to the number of patients, the H and the heap memory size;
if occupied space is reduced in the old age of heap memory, the heap memory configured by the JVM is not adjusted.
Preferably, the adjusting the heap memory configured by the JVM according to the patient number, the H, and the heap memory size specifically includes:
according to the formula Heap1=N patien ·Heap patien Calculating the first occupied space Heap1 in the old age according to the formula
Figure BDA0003643636050000041
Calculating increased age size H add The method comprises the steps of carrying out a first treatment on the surface of the Wherein N is patien Representing the number of patients, heap patien Representing the Heap Memory size, the Heap Memory age size configured by Heap for JVM, memory idle And the memory idle rate of the equipment where the nursing board application program is located is set.
Preferably, the detail viewing module further includes a Young age threshold adjustment module for adjusting the Young age threshold according to the number of times Young GC occurs when the profile information of the first patient is added to the nursing bulletin application.
According to the invention, aiming at the problem that the interactive electronic nursing bulletin board is easy to be blocked in use, the object corresponding to the patient profile information is stored in a fixed area of the heap memory, and the heap memory is automatically managed by adding or deleting patients; in addition, when the detailed information of the patient is checked, whether the STW generated by the Major GC and the Full GC is too large is judged, if so, garbage collection is not carried out on the fixed area, and meanwhile, the heap memory configured by the JVM is adjusted according to the heap memory change condition so as to reduce the occurrence times of the Major GC and the Full GC.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of a care sign application;
FIG. 2 is a block diagram of a prior art JVM heap memory;
FIG. 3 is a diagram of the JVM heap memory architecture of the present invention;
fig. 4 is a flowchart of a second embodiment.
Detailed Description
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
The invention provides an interactive care billboard system, which comprises the following modules:
the operation judgment module is used for detecting the operation of the nursing billboard application program, and when detecting that the profile information of one patient is added or deleted in the nursing billboard application program, the heap memory is added or recovered in a first preset mode; executing a detail viewing module when detecting that the medical staff operates the nursing billboard application program through a remote controller or a touch screen;
the interactive care sign system of the present invention comprises at least a care sign application and an Android system, the care sign application running on the Android system, in a more specific embodiment, the interactive care sign system comprises a processor, a memory, a display, an Android system, and a care sign application. The nursing billboard application is shown in fig. 1, and in one embodiment, the nursing billboard application is an APP and mainly comprises four parts, wherein the first part is an APP profile part, the second part is patient statistics information, the third part is patient profile information, and the fourth part is an on-duty doctor and on-duty nurse part; the third part is composed of a plurality of patient profile units, clicking or remote control selects patient profile information, as shown in fig. 1, the remote control or touching number 10 will display the selection, when the determination or double clicking touch screen on the remote control is clicked, the third part jumps to the patient detailed information page, which includes but is not limited to personal information of the patient, doctor's advice, nursing record, etc. The patient profile unit is a patient Item for displaying summary information of the patient, such as patient bed number, patient name, patient age, stay in hospital, allergy history, diet, etc.
In the operation of the care sign application, since each patient Item displays the same content, the heap memory occupied by each patient Item is the same, i.e., it is mainly related to the number of patient items, and the patient items generally exist for the same time as the patient is in hospital, usually for several days. In garbage collection (GC, garbage Collection), objects corresponding to patient items are put into old age (oldce) after several Young GCs, and each time Young GC, objects corresponding to patient items move between survivinr 0 and survivinr 1, resulting in lower efficiency.
According to the invention, after the profile information of one patient is added, namely one patient Item is added, and the objects corresponding to the patient Item are determined, the objects are directly added to the old age, so that repeated copying between the survivinr 1 and the Servivor1 is avoided. Similarly, when deleting one patient Item, the corresponding object is directly deleted from the aged without GC, so that the management efficiency of the heap area is improved.
The detail checking module detects operation of checking detailed information of a patient, monitors whether the Major GC or the Full GC is triggered, if yes, starts a STW timer, counts STW time of the Major GC or the Full GC, skips the GC of a heap memory area bound with the patient if the STW time is larger than a threshold value, collects the detailed information from the operation of triggering the checking of the detailed information of the patient to the complete display of the detailed information in a nursing billboard application program, and adjusts heap memory configured by the JVM according to the heap memory change condition.
GC is divided into Young GC, major GC and Full GC, wherein Young GC is used for recycling Young generation garbage, major GC is used for recycling old generation garbage, and Full GC is used for recycling garbage in a heap area and also used for recycling garbage in a method area of a memory. Since the time consumed by the Major GC and the Full GC is several times that of the Young GC, STW (Stop The World) appears in the Major GC and the Full GC, and if the STW time of the Major GC and the Full GC is too long, the user may feel a noticeable click. When the STW time exceeds the threshold, the heap memory area bound to the patient is skipped when the Major GC or Full GC is performed, so that the STW time can be reduced.
When the user views the detailed information of the patient, the detailed information of the patient comprises more contents, the occupied heap memory is larger, and when the STW exceeds the threshold value, the invention further reconfigures the heap memory according to the change condition of the heap memory after the Major GC or the Full GC.
When adding or deleting patient profile information, there are other objects besides the object corresponding to the patient Item, for example, the object instantiated by the adding operation process or the object instantiated by the deleting operation process, and other objects related to the instantiated object, these objects will not be permanently replaced after adding or deleting one patient profile information, and will be removed from the Young generation after several Young GCs, which requires the object corresponding to the patient Item to be stored in the old generation in the heap for a long time. In a specific embodiment, the first preset method increases or recovers heap memory, specifically:
calculating the heap memory size and objects corresponding to the patient, which are increased in the heap generation of the JVM corresponding to the nursing board application program after the profile information of the first patient is added in the nursing board application program and after age threshold (MaxTenuingthreshold) times of Young GC, opening up the heap memory area of the heap memory size in the elderly generation of the heap area after the profile information of the new patient is added in the nursing board application program, binding the heap memory area with the patient, and then placing the objects in the elderly generation of the heap area; triggering a Young GC once when the patient is deleted from the care sign application, and recycling the heap memory area bound with the patient;
the object corresponding to the patient refers to an object in the same life cycle as the patient displayed in the nursing billboard application.
The present invention configures a heap memory area for each patient profile information, that is, each patient Item, as shown in fig. 3, and stores the object corresponding to the patient Item in the persistent generation, wherein the object corresponding to the patient Item is the object of the same life cycle as the patient Item, and is created along with the creation of the patient Item, and is deleted along with the deletion of the patient Item. When the patient is detected to be deleted from the nursing billboard application program, the Young GC is triggered once, so that objects which possibly exist in the Young generation and correspond to the patient are deleted, active recycling of the Young GC is realized, and in addition, the heap memory area bound with the patient is recycled. The problem of STW time course at one time of Major GC or Full GC is avoided. The heap memory region is a block of contiguous regions. In one embodiment, the object corresponding to the patient refers to an object corresponding to the patient Item, and the object is the same as the life cycle of the patient Item.
When the Major GC or Full GC occurs, most of the cases are due to insufficient storage space in the heap, and especially when medical staff views patient details, a plurality of patient details are also viewed later, and if the heap storage space is insufficient, each view details will be jammed. The heap memory configured by the JVM is adjusted according to the heap memory change condition, specifically:
if the occupied space in the old age of the heap memory is increased by H, the heap memory configured by the JVM is adjusted according to the number of patients, the H and the heap memory size;
if occupied space is reduced in the old age of heap memory, the heap memory configured by the JVM is not adjusted.
When medical staff looks at details, two cases occur due to the action of the Major GC or the Full GC, the first is that the Major GC or the Full GC is performed, but the first is that the objects in the old are still increased, that is, the objects stored in the old are mostly reachable by GC Roots, and the second is that the objects stored in the old are decreased after the Major GC or the Full GC. In the first case, OOM is very likely to occur if no adjustment is made to the heap memory.
Since the occupied space of the heap memory is increased or decreased after the details are checked and the Major GC or the Full GC is judged, if the occupied space is decreased, the OOM is not generated this time, the OOM is not generated next time, and the heap memory is not required to be adjusted.
However, if the occupied space of the senior citizen after the Major GC or the Full GC increases, if detailed information of a plurality of patients is continuously checked, the OOM is likely to occur, and in order to prevent the OOM, the heap memory needs to be adjusted, specifically, the heap memory configured by the JVM is increased according to the number of patients, the increased occupied space, and the heap memory size corresponding to each Item. In a specific embodiment, the adjusting the heap memory configured by the JVM according to the patient number, the H, and the heap memory size specifically includes:
according to the formula Heap1=N patien ·Heap patien Calculating the first occupied space Heap1 in the old age according to the formula
Figure BDA0003643636050000081
Calculating increased age size H add The method comprises the steps of carrying out a first treatment on the surface of the Wherein N is patien Representing the number of patients, heap patien Representing the stackMemory size, heap Memory age size, memory for JVM configuration idle And the memory idle rate of the equipment where the nursing board application program is located is set.
Since the old age has not only the object bound with the user but also other objects, the space allocated for the old age and half of the first occupied space are set as judgment standards, so that the OOM is prevented, and attacks are reserved for other objects, when
Figure BDA0003643636050000082
When the elderly age is increased, the Memory is replaced idle ·N patien H, e.g. N patien H is 500M, and the memory idle rate of the device is 40%, 400M is added. In another embodiment, set H add The range of (2) is related to the memory of the device where the Android system is located, e.g. H add Is (0, memory 0.05)]The operation fault of the Android system caused by excessive memory allocation to the old age is avoided, and the calculated H is calculated add When the above range is exceeded, it is set as the maximum value of the range
In another embodiment, the adjusting the heap memory configured by the JVM according to the patient number, the H, and the heap memory size specifically includes: if the set age size-patient number x (H + the heap memory size) is less than a preset value, the age space of patient number x H is increased. In one embodiment, increasing the older age refers to maintaining the size of the younger age unchanged, increasing the older age, rather than assigning the younger age to the older age.
In a specific embodiment, the detail viewing module further includes a Young age threshold adjustment module for adjusting the Young age threshold according to the number of times Young GC occurs when the profile information of the first patient is added to the care sign application. Frequent occurrences of Young GCs also affect performance, and in one embodiment, a step value is set, and Young age thresholds are adjusted based on the number of Young GCs and the step value. For example, set the step value as: 5,10,15 when adding profile information for a patient, i.e. adding an Item in the care sign application, 14 Young GCs occur, the next time the age threshold is adjusted to 10, and so on.
Example two
The present invention provides a non-volatile computer storage medium having instructions stored therein that, when executed on an Android-based interactive care sign system, cause a processor to perform a method as described below, as shown in fig. 4:
detecting operation of a nursing billboard application program, and when detecting that the profile information of a patient is added or deleted in the nursing billboard application program, adding or recycling the heap memory in a first preset mode; when detecting that the medical staff operates the nursing billboard application program through the remote controller or the touch screen, executing the second step;
step two, detecting the operation of checking the detailed information of the patient, monitoring whether to trigger the Major GC or the Full GC, if yes, starting a STW timer, counting the STW time of the Major GC or the Full GC, if the STW time is larger than a threshold value, skipping the GC of a heap memory area bound with the patient, collecting the detailed information from the operation of checking the detailed information of the patient, and completely displaying the detailed information in a nursing signboard application program, wherein the heap memory change condition is used for adjusting the heap memory configured by the JVM according to the heap memory change condition.
Preferably, the first preset method increases or recovers heap memory, specifically:
calculating the heap memory size and objects corresponding to the patient, which are increased in the heap generation of the JVM corresponding to the nursing board application program after the profile information of the first patient is added in the nursing board application program and after age threshold (MaxTenuingthreshold) times of Young GC, opening up the heap memory area of the heap memory size in the elderly generation of the heap area after the profile information of the new patient is added in the nursing board application program, binding the heap memory area with the patient, and then placing the objects in the elderly generation of the heap area; triggering a Young GC once when the patient is deleted from the care sign application, and recycling the heap memory area bound with the patient;
the object corresponding to the patient refers to an object in the same life cycle as the patient displayed in the nursing billboard application.
Preferably, the adjusting the heap memory configured by the JVM according to the heap memory change condition specifically includes:
if the occupied space in the old age of the heap memory is increased by H, the heap memory configured by the JVM is adjusted according to the number of patients, the H and the heap memory size;
if occupied space is reduced in the old age of heap memory, the heap memory configured by the JVM is not adjusted.
Preferably, the adjusting the heap memory configured by the JVM according to the patient number, the H, and the heap memory size specifically includes:
according to the formula Heap1=N patien ·Heap patien Calculating the first occupied space Heap1 in the old age according to the formula
Figure BDA0003643636050000091
Calculating increased age size H add The method comprises the steps of carrying out a first treatment on the surface of the Wherein N is patien Representing the number of patients, heap patien Representing the Heap Memory size, the Heap Memory age size configured by Heap for JVM, memory idle And the memory idle rate of the equipment where the nursing board application program is located is set.
Preferably, the detail viewing module further includes a Young age threshold adjustment module for adjusting the Young age threshold according to the number of times Young GC occurs when the profile information of the first patient is added to the nursing bulletin application.
The above-described embodiment of the apparatus is merely illustrative, and some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by adding necessary general purpose hardware platforms, or may be implemented by a combination of hardware and software. Based on such understanding, the foregoing aspects, in essence and portions contributing to the art, may be embodied in the form of a computer program product, which may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1. An interactive care sign system, the system comprising the following modules:
the operation judgment module is used for detecting the operation of the nursing billboard application program, and when detecting that the brief information of one patient is added and deleted in the nursing billboard application program, the heap memory is added and recovered in a first preset mode; executing a detail checking module when detecting that the medical staff checks the detailed information of the patient through the remote controller or the touch screen; the first preset method increases and recovers heap memory, and specifically comprises the following steps: calculating the heap memory size and objects corresponding to the patient, which are increased in the aged generation of the JVM corresponding to the nursing board application program after the profile information of the first patient is added in the nursing board application program and after the age threshold number Young GC, opening up the heap memory area with the heap memory size in the aged generation of the heap area after the profile information of the new patient is added in the nursing board application program, binding the heap memory area with the patient, and then placing the objects in the aged generation of the heap area; triggering a Young GC once when the patient is deleted from the care sign application, and recycling the heap memory area bound with the patient; the object corresponding to the patient refers to an object in the same life cycle as the patient displayed in the nursing billboard application;
the detail checking module detects the operation of checking the detailed information of the patient, monitors whether the Major GC or the Full GC is triggered, if yes, starts a STW timer, counts the STW time of the Major GC or the Full GC, skips the GC of a heap memory area bound with the patient if the STW time is greater than a threshold value, acquires the detailed information from the operation of triggering the checking of the detailed information of the patient to the complete display of the detailed information in a nursing billboard application program, and adjusts the heap memory configured by the JVM according to the heap memory change condition; the adjusting the heap memory configured by the JVM according to the heap memory change condition specifically comprises the following steps: if the occupied space in the old age of the heap memory is increased by H, increasing the JVM configured old age heap memory according to the number of patients, the H and the heap memory size; if occupied space is reduced in the old age of heap memory, the heap memory configured by the JVM is not adjusted.
2. The interactive care sign system of claim 1, wherein said increasing JVM configured older heap memory according to patient count, said H, said heap memory size is specifically:
according to the formula Heap1=N patien ·Heap patien Calculating the first occupied space Heap1 in the old age according to the formula
Figure QLYQS_1
Calculating increased age size H add The method comprises the steps of carrying out a first treatment on the surface of the Wherein N is patien Representing the number of patients, heap patien Representing the Heap Memory size, the Heap Memory age size configured by Heap for JVM, memory idle And the memory idle rate of the equipment where the nursing board application program is located is set.
3. The interactive care sign system of any one of claims 1-2, wherein the detail viewing module further comprises a Young age threshold adjustment module for adjusting the Young age threshold based on the number of Young GCs that occurred when the first patient's profile information was added to the care sign application.
4. A non-volatile computer storage medium having instructions stored therein that, when executed on an Android-based interactive care sign system, cause a processor to perform the method of:
detecting operation of a nursing billboard application program, and adding and recovering a heap memory in a first preset mode when adding and deleting profile information of a patient in the nursing billboard application program; when detecting that the medical staff views the detailed information of the patient through the remote controller or the touch screen, executing the second step; the first preset method increases and recovers heap memory, and specifically comprises the following steps: calculating the heap memory size and objects corresponding to the patient, which are increased in the aged generation of the JVM corresponding to the nursing board application program after the profile information of the first patient is added in the nursing board application program and after the age threshold number Young GC, opening up the heap memory area with the heap memory size in the aged generation of the heap area after the profile information of the new patient is added in the nursing board application program, binding the heap memory area with the patient, and then placing the objects in the aged generation of the heap area; triggering a Young GC once when the patient is deleted from the care sign application, and recycling the heap memory area bound with the patient; the object corresponding to the patient refers to an object in the same life cycle as the patient displayed in the nursing billboard application;
step two, detecting the operation of checking the detailed information of the patient, monitoring whether to trigger the Major GC or the Full GC, if yes, starting a STW timer, counting the STW time of the Major GC or the Full GC, if the STW time is larger than a threshold value, skipping the GC of a heap memory area bound with the patient, collecting the detailed information from the operation of checking the detailed information of the patient, and completely displaying the detailed information in a nursing signboard application program, wherein the heap memory changes, and adjusting the heap memory configured by the JVM according to the heap memory changes; the adjusting the heap memory configured by the JVM according to the heap memory change condition specifically comprises the following steps: if the occupied space in the old age of the heap memory is increased by H, increasing the JVM configured old age heap memory according to the number of patients, the H and the heap memory size; if occupied space is reduced in the old age of heap memory, the heap memory configured by the JVM is not adjusted.
5. A storage medium as defined in claim 4, wherein said increasing JVM configured older heap memory based on patient count, said H, and said heap memory size is specifically:
according to the formula Heap1=N patien ·Heap patien Calculating the first occupied space Heap1 in the old age according to the formula
Figure QLYQS_2
Calculating increased age size H add The method comprises the steps of carrying out a first treatment on the surface of the Wherein N is patien Representing the number of patients, heap patien Representing the Heap Memory size, the Heap Memory age size configured by Heap for JVM, memory idle And the memory idle rate of the equipment where the nursing board application program is located is set.
6. The storage medium of any one of claims 4-5, wherein step two further comprises: the Young age threshold is adjusted based on the number of Young GCs that occurred when the first patient's profile information was added to the care sign application.
CN202210524607.4A 2022-05-13 2022-05-13 Interactive nursing billboard system and storage medium Active CN114816760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210524607.4A CN114816760B (en) 2022-05-13 2022-05-13 Interactive nursing billboard system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210524607.4A CN114816760B (en) 2022-05-13 2022-05-13 Interactive nursing billboard system and storage medium

Publications (2)

Publication Number Publication Date
CN114816760A CN114816760A (en) 2022-07-29
CN114816760B true CN114816760B (en) 2023-04-28

Family

ID=82515276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210524607.4A Active CN114816760B (en) 2022-05-13 2022-05-13 Interactive nursing billboard system and storage medium

Country Status (1)

Country Link
CN (1) CN114816760B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116089319B (en) * 2022-08-30 2023-10-31 荣耀终端有限公司 Memory processing method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766123A (en) * 2017-10-11 2018-03-06 郑州云海信息技术有限公司 A kind of JVM tunings method
CN109117242A (en) * 2017-06-22 2019-01-01 龙芯中科技术有限公司 Virtual machine garbage reclamation tuning method, apparatus, electronic equipment and storage medium
CN111831467A (en) * 2020-07-21 2020-10-27 北京思特奇信息技术股份有限公司 Method, system and electronic equipment for java process memory overflow self-fusing
CN112579259A (en) * 2020-12-14 2021-03-30 中国科学院软件研究所 GC self-adaptive adjusting method and device for big data processing framework

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117242A (en) * 2017-06-22 2019-01-01 龙芯中科技术有限公司 Virtual machine garbage reclamation tuning method, apparatus, electronic equipment and storage medium
CN107766123A (en) * 2017-10-11 2018-03-06 郑州云海信息技术有限公司 A kind of JVM tunings method
CN111831467A (en) * 2020-07-21 2020-10-27 北京思特奇信息技术股份有限公司 Method, system and electronic equipment for java process memory overflow self-fusing
CN112579259A (en) * 2020-12-14 2021-03-30 中国科学院软件研究所 GC self-adaptive adjusting method and device for big data processing framework

Also Published As

Publication number Publication date
CN114816760A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
Powsner et al. Opportunities for and challenges of computerisation
Cousins et al. The visual display of temporal information
US7480716B2 (en) Non-invasive collection of data
CN114816760B (en) Interactive nursing billboard system and storage medium
US20080244453A1 (en) Iconic event timeline with latitude snapping and method for providing the same
US9424393B2 (en) Method, apparatus, and system for reading, processing, presenting, and/or storing electronic medical record information
US20120166995A1 (en) Smart virtual keyboard for touchscreen devices
US20050222873A1 (en) Systems, methods and user interfaces for management and configuration of medical patient monitoring
US9189569B2 (en) Non-transitory computer readable medium, medical record search apparatus, and medical record search method
Xue et al. Effects of electronic medical record in a Chinese hospital: a time series study
AU2014210564A1 (en) Method and apparatus for displaying data on basis of electronic medical record system
CN110931096A (en) System and method for automatically generating image structured report template
US20140068489A1 (en) Interactive historical timeline of personal health record
US20070118401A1 (en) System and method for real-time healthcare business decision support through intelligent data aggregation and data modeling
CN102203784A (en) Dynamic clinical worklist
WO2017200776A1 (en) Visualizing document activity
Oskvarek et al. Emergency department volume, severity, and crowding since the onset of the coronavirus disease 2019 pandemic
CN114116206B (en) Cloud resource management method and device and computer storage medium
CN111028931B (en) Medical data processing method and device, electronic equipment and storage medium
Syed-Abdul et al. A smart medication recommendation model for the electronic prescription
Zheng et al. User interface optimization for an electronic medical record system
US20080294454A1 (en) Display of clinical information
Del Fiol et al. Infobuttons and classification models: a method for the automatic selection of on-line information resources to fulfill clinicians’ information needs
JP4670485B2 (en) Medical knowledge management system
CN112750046A (en) Medical insurance fee control method and system based on anomaly detection algorithm

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