Method for analyzing number of times of getting up to night for old people and home-based care medical system thereof
By establishing a rectangular coordinate system on the floor plan of the house and analyzing the location of the elderly in real time, the problem of inconvenient monitoring of the elderly in the existing technology is solved, and the function of quickly obtaining the number of nights and judging abnormal situations is realized.
Patent Information
- Application Number
- CN202411988111.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-29
AI Technical Summary
The existing monitoring methods for the elderly to get up at night are not convenient enough, and it takes a lot of time to get the number of times the elderly to get up at night.
By obtaining the house floor plan, establishing a rectangular coordinate system on the floor plan of the house, marking the coordinate sets of the elderly’s bedroom and bathroom, obtaining the location information of the elderly in real time, converting it into coordinates, and analyzing the coordinates to count the number of nights.
It is possible to easily and quickly obtain the number of nights for the elderly, and to judge whether there are abnormalities in the number of nights, which is conducive to understanding the health status of the elderly.
Smart Images

Figure CN119906957A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical systems, and in particular to a method for analyzing the frequency of elderly people getting up at night and a home-based elderly care medical system. Background Art
[0002] The elderly have many inconveniences in life. As they age, the functions of the human organs gradually decline, including the functions of the kidneys and bladder. The elderly's kidneys' ability to reabsorb water decreases, and the bladder capacity may also decrease. This causes the elderly to get up frequently at night, and the number of times they get up in the middle of the night can also indirectly reflect the elderly's physical condition.
[0003] The current method of monitoring the elderly getting up at night is usually to install a camera in the living room to record the situation inside the house, and then family members or medical personnel watch the video to obtain the number of times the elderly get up at night.
[0004] However, the above method takes a lot of time to obtain the number of times the elderly get up at night, which is not convenient enough. Summary of the invention
[0005] The purpose of the present invention is to provide a method for analyzing the number of times an elderly person gets up at night and a home-based elderly care medical system thereof, which can conveniently and quickly obtain the number of times an elderly person gets up at night and determine whether the number of times a elderly person gets up at night is abnormal.
[0006] To achieve the above objectives, in a first aspect, the present invention provides a method for analyzing the frequency of getting up at night for an elderly person, comprising:
[0007] Get the house floor plan and establish the house plane rectangular coordinate system with the center of the house as the origin;
[0008] According to the house floor plan, mark the coordinate set of the area where the elderly's bedroom and bathroom are located in the rectangular coordinate system of the house plane;
[0009] Obtain the location information of the elderly in real time, convert the location information of the elderly into coordinates in the rectangular coordinate system of the house plane, and obtain the real-time coordinates of the elderly;
[0010] Analyze the real-time coordinates of the elderly and obtain the number of times they get up at night.
[0011] As a preferred technical solution, the specific steps of obtaining the house floor plan and establishing the house plane rectangular coordinate system with the house center as the origin include:
[0012] Obtain a house floor plan, and fill in the missing corners of the house floor plan until the house floor plan is square;
[0013] With the intersection of the diagonals of the square house floor plan as the center of the circle, establish a proportional rectangular coordinate system for the house plane.
[0014] As a preferred technical solution, the house floor plan includes the name, size and outline of each area of the house, the name includes the elderly bedroom and bathroom, the size includes the elderly bedroom size and bathroom size, and the outline includes the elderly bedroom outline and bathroom outline.
[0015] As a preferred technical solution, the specific steps of marking the coordinate sets of the areas where the elderly's bedroom and bathroom are located in the rectangular coordinate system of the house plane according to the house floor plan include:
[0016] Map the house plane rectangular coordinate system onto the house floor plan;
[0017] Obtain the coordinates of the elderly bedroom outline and all points in the area within the elderly bedroom outline to obtain the elderly bedroom area coordinate set;
[0018] Obtain the coordinates of the bathroom outline and all points in the area within the bathroom outline to obtain a bathroom coordinate set.
[0019] As a preferred technical solution, the specific steps of obtaining the location information of the elderly in real time, converting the location information of the elderly into coordinates in the rectangular coordinate system of the house plane, and obtaining the real-time coordinates of the elderly include:
[0020] Get the latitude and longitude coordinates of the elderly person and express them in degrees, minutes and seconds;
[0021] The latitude and longitude coordinates of the elderly are input into the projection formula, and the corresponding two-dimensional coordinates in the rectangular coordinate system of the house plane are calculated to obtain the real-time coordinates of the elderly.
[0022] As a preferred technical solution, the specific steps of analyzing the real-time coordinates of the elderly to obtain the number of times the elderly get up at night include:
[0023] Get the real-time coordinates of the elderly within the preset time period and sort them in ascending order of time;
[0024] The real-time coordinates of the elderly are analyzed and compared with the coordinates in the elderly's bedroom area coordinate set and the bathroom coordinate set in order to obtain the name of the area where the elderly is located at each time;
[0025] Each time the elderly person changes their place of residence from the bedroom to the bathroom, it is recorded as one time they get up to go to the bathroom, and the number of times they get up to go to the bathroom during the entire preset time period is counted.
[0026] As a preferred technical solution, each time the elderly person changes his / her area from the bedroom to the bathroom, it is recorded as one time of getting up at night, and after counting the number of times the elderly person gets up at night in the entire preset time period, the following steps are also included:
[0027] Analyze the number of times the elderly get up at night to determine whether there is any abnormality.
[0028] As a preferred technical solution, the method further comprises the following steps after analyzing and judging whether the number of times the elderly get up at night is abnormal:
[0029] When the number of times an elderly person gets up at night is judged to be abnormal, the data is sent to the family members' mobile phones using a wireless network.
[0030] As a preferred technical solution, the analysis and judgment of whether there is an abnormality in the number of times the elderly get up at night specifically includes: when the number of times the elderly get up at night is 0 to 2 times, it is judged to be normal; when the number of times the elderly get up at night is greater than 2 times, it is judged to be abnormal.
[0031] In a second aspect, the present invention further provides a home-based elderly care medical system, including a coordinate system creation module, a coordinate set acquisition module, an elderly coordinate marking module, and a night-time waking analysis module;
[0032] The coordinate system creation module, the coordinate set acquisition module, the elderly coordinate marking module and the night-time analysis module are connected in sequence;
[0033] The coordinate system creation module is used to obtain the house floor plan and establish a house plane rectangular coordinate system with the house center as the origin;
[0034] The coordinate set acquisition module is used to mark the coordinate sets of the areas where the elderly's bedroom and bathroom are located in the rectangular coordinate system of the house plane according to the house floor plan;
[0035] The elderly coordinate marking module is used to obtain the elderly's location information in real time, convert the elderly's location information into coordinates in the rectangular coordinate system of the house plane, and obtain the elderly's real-time coordinates;
[0036] The night-time waking analysis module is used to analyze the real-time coordinates of the elderly and obtain the number of times the elderly get up at night.
[0037] The present invention provides a method for analyzing the number of times an elderly person gets up at night and a home-based elderly care medical system thereof. The method comprises the following steps: obtaining a house floor plan, filling in the missing corners of the house floor plan until the house floor plan is square; establishing a proportional house plane rectangular coordinate system with the intersection of the diagonals of the square house floor plan as the center of a circle; mapping the house plane rectangular coordinate system onto the house floor plan; obtaining the coordinates of the elderly person's bedroom outline and all points in the area within the elderly person's bedroom outline to obtain the elderly person's bedroom area coordinate set; obtaining the coordinates of the bathroom outline and all points in the area within the bathroom outline to obtain the bathroom coordinate set; obtaining the latitude and longitude coordinates of the elderly person and expressing them in degrees, minutes and seconds; inputting the latitude and longitude coordinates of the elderly person into a projection formula to calculate the corresponding house plane rectangular coordinates. The two-dimensional coordinates in the system are used to obtain the real-time coordinates of the elderly; the real-time coordinates of the elderly within a preset time period are obtained, and are sorted in ascending order of time; the real-time coordinates of the elderly are analyzed and compared with the coordinates in the elderly's bedroom area coordinate set and the bathroom coordinate set in order to obtain the name of the area where the elderly is located at each time; each time the elderly's area changes from the bedroom to the bathroom, it is recorded as getting up at night, and the number of times the elderly get up at night in the entire preset time period is counted; according to the number of times the elderly get up at night, it is analyzed and judged whether the number of times the elderly get up at night is abnormal; when the number of times the elderly get up at night is judged to be abnormal, the data is sent to the mobile phone of the family member by using a wireless network; the present invention can conveniently and quickly obtain the number of times the elderly get up at night, judge whether the number of times the elderly get up at night is abnormal, and is conducive to understanding the health status of the elderly. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is an overall flow chart of a method for analyzing the number of times an elderly person gets up at night according to the present invention.
[0039] Figure 2 It is another overall flow chart of the method for analyzing the number of times an elderly person gets up at night according to the present invention.
[0040] Figure 3 It is a flow chart of the present invention for obtaining a house floor plan and establishing a house plane rectangular coordinate system with the house center as the origin.
[0041] Figure 4 The present invention is a flow chart for marking the coordinate set of the area where the elderly's bedroom and bathroom are located in the house plane rectangular coordinate system according to the house floor plan.
[0042] Figure 5 The present invention is a flow chart for obtaining the location information of the elderly in real time, converting the location information of the elderly into coordinates in the rectangular coordinate system of the house plane, and obtaining the real-time coordinates of the elderly.
[0043] Figure 6 It is a flow chart of analyzing the real-time coordinates of the elderly and obtaining the number of times the elderly get up at night.
[0044] Figure 7It is a structural schematic diagram of a home-based elderly care medical system of the present invention.
[0045] The meaning of each number in the figure is:
[0046] 101 - coordinate system creation module, 102 - coordinate set acquisition module, 103 - elderly coordinate labeling module, 104 - nighttime waking analysis module. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] See also Figure 1-Figure 6 In the first aspect, this embodiment provides a method for analyzing the number of times an elderly person gets up at night, comprising:
[0049] S1 obtains the house floor plan and establishes a rectangular coordinate system of the house plane with the center of the house as the origin;
[0050] The specific steps include:
[0051] S11 obtains a house floor plan, and fills in missing corners of the house floor plan until the house floor plan is square;
[0052] S12 uses the intersection of the diagonals of the square house floor plan as the center of the circle to establish a proportional rectangular coordinate system for the house plane.
[0053] In an embodiment of the present invention, professional personnel measure the data of the house on site, record the length and width of each room, and the position and size of doors and windows, pay attention to detailed information such as wall thickness and column position, use AutoCAD to draw the outline of the exterior wall of the house based on the collected dimension data, ensure that the lines are straight and the proportions are accurate, mark the size, area and other information of each room on the drawing, and annotate the name of each area. The final house floor plan includes the name, size and outline of each area of the house, the name includes the elderly bedroom and bathroom, the size includes the elderly bedroom size and bathroom size, and the outline includes the elderly bedroom outline and bathroom outline. The resulting house floor plan may have missing corners, so you need to fill in the missing corners first, find the position corresponding to the missing corner on the symmetry axis of the house floor plan, and then draw the corresponding graphic part to fill it in until the house floor plan is square. On this square house floor plan, find the intersection of its diagonals. This intersection is the center point of the house. Select the four directions of due south, due north, due east, and due west of the house as the basic directions of the coordinate axis. At the center point, draw two perpendicular lines, representing the x-axis and y-axis respectively. The intersection of these two lines is the origin (0, 0), and a proportional rectangular coordinate system for the house plane is obtained.
[0054] S2 marks the coordinate set of the area where the elderly's bedroom and bathroom are located in the rectangular coordinate system of the house plane according to the house floor plan;
[0055] The specific steps include:
[0056] S21 maps the house plane rectangular coordinate system onto the house floor plan;
[0057] S22 obtains the coordinates of the elderly bedroom outline and all points in the area within the elderly bedroom outline to obtain a coordinate set of the elderly bedroom area;
[0058] S23 obtains the coordinates of the bathroom contour line and all points in the area within the bathroom contour line to obtain a bathroom coordinate set.
[0059] In an embodiment of the present invention, the origin (0, 0) of the house plane rectangular coordinate system is aligned with the intersection of the diagonal lines of the house floor plan, so that the house plane rectangular coordinate system is mapped on the house floor plan. Since the outline of the elderly bedroom and the outline of the bathroom are drawn on the house floor plan in advance, the outline of the elderly bedroom and the outline of the bathroom will be mapped on the house plane rectangular coordinate system, and the outline will delimit a range. There are multiple points in the outline and the area enclosed by the outline. These points have clear coordinates on the house plane rectangular coordinate system. The coordinates of the points of the outline of the elderly bedroom and the area enclosed by the outline are collected together to obtain the coordinate set of the elderly bedroom area; the coordinates of the points of the outline of the bathroom and the area enclosed by the outline are collected together to obtain the coordinate set of the bathroom area.
[0060] S3 obtains the location information of the elderly in real time, converts the location information of the elderly into coordinates in the rectangular coordinate system of the house plane, and obtains the real-time coordinates of the elderly;
[0061] The specific steps include:
[0062] S31 obtains the latitude and longitude coordinates of the elderly and expresses them in degrees, minutes and seconds;
[0063] S32 inputs the latitude and longitude coordinates of the elderly into the projection formula, calculates the corresponding two-dimensional coordinates in the rectangular coordinate system of the house plane, and obtains the real-time coordinates of the elderly.
[0064] In an embodiment of the present invention, a GPS positioning device (such as a mobile phone, a GPS receiver, etc.) is placed on the elderly to obtain the longitude and latitude coordinates of the person, and the accurate longitude and latitude values are recorded, expressed as degrees (°), minutes ('), and seconds ("). The UTM projection method is used to calculate the corresponding X and Y coordinates according to the projection formula and the input longitude and latitude values. The coordinates represent the real-time coordinates of the elderly.
[0065] S4 analyzes the real-time coordinates of the elderly and obtains the number of times the elderly get up at night.
[0066] The specific steps include:
[0067] S41 obtains the real-time coordinates of the elderly within a preset time period and sorts them in ascending order of time;
[0068] In an embodiment of the present invention, the time period for obtaining the real-time coordinates of the elderly is selected as 0 to 8 o'clock in the morning, and the real-time coordinates of all the elderly within this time period are obtained, and each coordinate is sorted in ascending order of time. The purpose is to determine the position of each coordinate in order.
[0069] S42 analyzes and compares the real-time coordinates of the elderly with the coordinates in the elderly's bedroom area coordinate set and the bathroom coordinate set in order to obtain the name of the area where the elderly is located at each time;
[0070] In the embodiment of the present invention, since we have learned the elderly bedroom area coordinate set and the bathroom coordinate set in steps S22 and S23, all the elderly real-time coordinates in the time period from 0 to 8 o'clock are compared with each coordinate in the elderly bedroom area coordinate set and the bathroom coordinate set in turn. When the elderly real-time coordinate exists in the elderly bedroom area coordinate set, it is determined that the elderly is in the bedroom at that time. An example is given below to illustrate: at 1:00, the elderly real-time coordinate is (2, 2), and at 2:00, the elderly real-time coordinate is (5, 5), among which (2, 2) is in the elderly bedroom area coordinate set, so it is determined that the elderly is in the bedroom. The person is in the bedroom, and (5, 5) is in the bathroom coordinate set, so it is determined that the elderly is in the bathroom. Repeat this process and analyze and compare the real-time coordinates of the elderly at each time. We analyze the coordinates at intervals of 1h (this is for ease of understanding, and the time interval can be set to 1min in actual application) to obtain the following data: 0:00 bedroom, 1:00 bedroom, 2:00 bathroom, 3:00 bedroom, 4:00 no data, 5:00 bedroom, 6:00 bathroom, 7:00 bedroom, 8:00 bedroom, where no data refers to the area where the elderly is not in the bedroom or bathroom, which can be the living room, kitchen, etc.
[0071] S43: Each time the elderly person changes his / her area from the bedroom to the bathroom, it is recorded as one time of getting up at night, and the number of times the elderly person gets up at night in the entire preset time period is counted;
[0072] In the embodiment of the present invention, the data exemplified in step S42 are used for illustration. In the time period of 1:00-2:00, the elderly person moves from the bedroom to the bathroom, which is recorded as getting up at night. In the time period of 5:00-6:00, the elderly person moves from the bedroom to the bathroom again, which is recorded as getting up at night. Before each counting, it is necessary to first determine whether the elderly person was in the bedroom or there was no data at the last moment in the bathroom. If the elderly person was in the bathroom at both the last moment and the current moment, it is not counted. The purpose is that the elderly person will be in the bathroom for a period of time when using the toilet. This method can avoid misjudgment.
[0073] S44 analyzes the number of times the elderly get up at night and determines whether the number of times they get up at night is abnormal;
[0074] Specifically, when the elderly get up 0 to 2 times at night, it is considered normal; when the elderly get up more than 2 times at night, it is considered abnormal.
[0075] S45 When the number of times the elderly get up at night is judged to be abnormal, the data is sent to the family members' mobile phones using a wireless network;
[0076] In the embodiment of the present invention, when the number of times the elderly get up at night is greater than 2 times, it is judged as an abnormal situation. When the number of times the elderly get up at night is judged as an abnormal situation, the wireless network is used to send data to the mobile phone of the family members, so that the family members can grasp the elderly's getting up at night in real time. It is worth mentioning that when an abnormal situation occurs, it cannot be directly judged that there is a problem with the health of the elderly, but it should be based on the physiological characteristics and health status of each elderly person. For example, water intake before going to bed: if the elderly drink a lot of water, strong tea, coffee and other liquids before going to bed, especially beverages containing diuretic ingredients, it may lead to increased urine volume, thereby increasing the number of times they get up at night. Physiological factors: With the increase of age, the organ functions of the human body gradually decline, including the functions of the kidneys and bladder. The kidneys of the elderly have a decreased ability to reabsorb water, and the bladder capacity may also decrease. These factors may lead to increased nocturia. Disease factors: Some diseases, such as prostate hyperplasia (more common in men), urinary tract infections, diabetes, hypertension, etc., may also cause the elderly to get up frequently at night. These diseases can affect the normal functions of organs such as the kidneys and bladder, causing frequent urination. Living habits: Bad living habits, such as eating too spicy and greasy food, may also cause the elderly to urinate frequently at night. In addition, strenuous exercise or emotional excitement before going to bed may also affect sleep quality and cause frequent waking up at night.
[0077] The present invention provides a method for analyzing the frequency of elderly people getting up at night. The method comprises the following steps: obtaining a house floor plan, filling in the missing corners of the house floor plan until the house floor plan is square; establishing a proportional house plane rectangular coordinate system with the intersection of the diagonals of the square house floor plan as the center of a circle; mapping the house plane rectangular coordinate system onto the house floor plan; obtaining the coordinates of the elderly's bedroom outline and all points in the area within the elderly's bedroom outline to obtain the elderly's bedroom area coordinate set; obtaining the toilet outline and all points in the area within the toilet outline to obtain the toilet coordinate set; obtaining the latitude and longitude coordinates of the elderly and expressing them in degrees, minutes and seconds; inputting the latitude and longitude coordinates of the elderly into a projection formula to calculate the corresponding two-dimensional coordinates in the house plane rectangular coordinate system. Coordinates of the elderly are obtained to obtain the real-time coordinates of the elderly; the real-time coordinates of the elderly within a preset time period are obtained and sorted in ascending order of time; the real-time coordinates of the elderly are analyzed and compared with the coordinates in the coordinate set of the elderly's bedroom area and the coordinate set of the bathroom in order to obtain the name of the area where the elderly are at each time; each time the area where the elderly is located changes from the bedroom to the bathroom, it is recorded as a night-time awakening, and the number of night-time awakenings of the elderly within the entire preset time period is counted; according to the number of night-time awakenings of the elderly, it is analyzed and determined whether the number of night-time awakenings is abnormal; when the number of night-time awakenings of the elderly is determined to be abnormal, the data is sent to the mobile phones of family members using a wireless network; the present invention can conveniently and quickly obtain the number of night-time awakenings of the elderly, determine whether the number of night-time awakenings is abnormal, and is conducive to understanding the health status of the elderly.
[0078] Second, see Figure 7, the present invention also provides a home-based elderly care medical system, including a coordinate system creation module 101, a coordinate set acquisition module 102, an elderly coordinate marking module 103 and a night-time waking analysis module 104;
[0079] The coordinate system creation module 101, the coordinate set acquisition module 102, the elderly coordinate marking module 103 and the night-time analysis module 104 are connected in sequence;
[0080] The coordinate system creation module 101 is used to obtain a house floor plan and establish a house plane rectangular coordinate system with the center of the house as the origin;
[0081] The coordinate set acquisition module 102 is used to mark the coordinate sets of the areas where the elderly's bedroom and bathroom are located in the rectangular coordinate system of the house plane according to the house floor plan;
[0082] The elderly coordinate marking module 103 is used to obtain the elderly's location information in real time, convert the elderly's location information into coordinates in the rectangular coordinate system of the house plane, and obtain the elderly's real-time coordinates;
[0083] The night-time waking analysis module 104 is used to analyze the real-time coordinates of the elderly and obtain the number of times the elderly get up at night.
[0084] A home-based elderly care medical system of the present invention is implemented by professionals measuring the data of a house on-site, recording the length and width of each room, as well as the positions and sizes of doors and windows, paying attention to details such as the thickness of the wall and the position of the columns, and using AutoCAD to draw the outline of the outer wall of the house according to the collected size data, ensuring that the lines are straight and the proportions are accurate, marking the size, area and other information of each room on the drawing, and annotating the name of each area. The finally obtained house floor plan includes the name, size and outline of each area of the house, the name includes the elderly bedroom and bathroom, the size includes the size of the elderly bedroom and the bathroom, and the outline includes the outline of the elderly bedroom and the bathroom. The obtained house floor plan may have missing corners, so it is necessary to fill the missing corners first. The coordinate system creation module 101 finds the position corresponding to the missing corner on the symmetry axis of the house floor plan, and then draws the corresponding graphic part to fill it until the house floor plan is square. On this square house floor plan, find the intersection of its diagonals, which is the center point of the house. Select the four directions of the south, north, east and west of the house as the basic directions of the coordinate axis. At the center point, draw two perpendicular lines, representing the x-axis and the y-axis respectively. The intersection of these two lines is the origin (0, 0), and the proportional house plane rectangular coordinate system is obtained. The coordinate set acquisition module 102 aligns the origin (0, 0) of the house plane rectangular coordinate system with the intersection of the diagonals of the house floor plan, so that the house plane rectangular coordinate system is mapped on the house floor plan. Since the outline of the elderly's bedroom and the outline of the bathroom are drawn on the house floor plan in advance, the outline of the elderly's bedroom and the outline of the bathroom will be mapped on the house floor plan, and the outline will delimit a range. There are multiple points in the outline and the area enclosed by the outline. These points have clear coordinates in the rectangular coordinate system of the house plane. The coordinates of the points of the outline of the elderly's bedroom and the area enclosed by the outline are combined to obtain the coordinate set of the elderly's bedroom area; the coordinates of the points of the outline of the bathroom and the area enclosed by the outline are combined to obtain the coordinate set of the bathroom area. A GPS positioning device (such as a mobile phone, a GPS receiver, etc.) is placed on the elderly to obtain the longitude and latitude coordinates of the person, and the accurate longitude and latitude values are recorded, expressed as degrees (°), minutes ('), and seconds ("). The elderly coordinate marking module 103 adopts the UTM projection method, and calculates the corresponding X and Y coordinates according to the projection formula and the input longitude and latitude values. The coordinates represent the real-time coordinates of the elderly.The night-time analysis module 104 selects the time period from 0:00 to 8:00 in the morning to obtain the real-time coordinates of the elderly, obtains all the real-time coordinates of the elderly in the time period from 0:00 to 8:00, and sorts each coordinate in ascending order of time, with the purpose of determining the position of each coordinate in order; all the real-time coordinates of the elderly in the time period from 0:00 to 8:00 are compared with each coordinate in the elderly bedroom area coordinate set and the bathroom coordinate set in turn. When the real-time coordinates of the elderly exist in the elderly bedroom area coordinate set, it is determined that the elderly is in the bedroom at that time. An example is given below to illustrate: at 1:00, the real-time coordinates of the elderly are (2, 2), and at 2:00, the real-time coordinates of the elderly are (5, 5). Among them, (2, 2) is in the coordinate set of the elderly’s bedroom area, so the elderly is considered to be in the bedroom. Among them, (5, 5) is in the coordinate set of the bathroom, so the elderly is considered to be in the bathroom. Repeat this process and analyze and compare the real-time coordinates of the elderly at each time. We analyze the coordinates at intervals of 1 hour (this is for ease of understanding, and the time interval can be set to 1 minute in actual application) to obtain the following data: 0:00 bedroom, 1:00 bedroom, 2:00 bathroom, 3:00 bedroom, 4:00 no data, 5:00 bedroom, 6:00 bathroom, 7:00 bedroom, 8:00 bedroom, where no data refers to the area where the elderly is not in the bedroom or bathroom, which can be the living room, kitchen, etc. In the time period of 1:00-2:00, the elderly moved from the bedroom to the bathroom, which was recorded as getting up at night. In the time period of 5:00-6:00, the elderly moved from the bedroom to the bathroom again, which was recorded as getting up at night. Before counting each time, it is necessary to first determine whether the elderly was in the bedroom or there was no data at the last moment in the bathroom. If the elderly was in the bathroom at both the last moment and the current moment, it will not be counted. The purpose is that the elderly will be in the bathroom for a period of time when using the toilet. This method can avoid misjudgment. When the number of times the elderly get up at night is 0 to 2 times, it is judged as a normal situation; when the number of times the elderly get up at night is greater than 2 times, it is judged as an abnormal situation. The present invention can conveniently and quickly obtain the number of times the elderly get up at night, and determine whether the number of times they get up at night is abnormal, which is conducive to understanding the health status of the elderly.
[0085] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for analyzing the frequency of getting up at night for the elderly, characterized in that: include: Get the house floor plan and establish the house plane rectangular coordinate system with the center of the house as the origin; According to the house floor plan, mark the coordinate set of the area where the elderly's bedroom and bathroom are located in the rectangular coordinate system of the house plane; Obtain the location information of the elderly in real time, convert the location information of the elderly into coordinates in the rectangular coordinate system of the house plane, and obtain the real-time coordinates of the elderly; Analyze the real-time coordinates of the elderly and obtain the number of times they get up at night.
2. A method for analyzing the number of times an elderly person gets up at night as claimed in claim 1, characterized in that: The specific steps of obtaining the house floor plan and establishing the house plane rectangular coordinate system with the house center as the origin include: Obtain a house floor plan, and fill in the missing corners of the house floor plan until the house floor plan is square; With the intersection of the diagonals of the square house floor plan as the center of the circle, establish a proportional rectangular coordinate system for the house plane.
3. A method for analyzing the number of times an elderly person gets up at night as claimed in claim 2, characterized in that: The house floor plan includes the name, size and outline of each area of the house, the name includes the elderly bedroom and bathroom, the size includes the size of the elderly bedroom and the size of the bathroom, and the outline includes the outline of the elderly bedroom and the outline of the bathroom.
4. A method for analyzing the number of times an elderly person gets up at night as claimed in claim 3, characterized in that: The specific steps of marking the coordinate sets of the areas where the elderly's bedroom and bathroom are located in the rectangular coordinate system of the house plane according to the house floor plan include: Map the house plane rectangular coordinate system onto the house floor plan; Obtain the coordinates of the elderly bedroom outline and all points in the area within the elderly bedroom outline to obtain the elderly bedroom area coordinate set; Obtain the coordinates of the bathroom outline and all points in the area within the bathroom outline to obtain a bathroom coordinate set.
5. A method for analyzing the number of times an elderly person gets up at night as claimed in claim 4, characterized in that: The specific steps of obtaining the location information of the elderly in real time, converting the location information of the elderly into coordinates in the rectangular coordinate system of the house plane, and obtaining the real-time coordinates of the elderly include: Get the latitude and longitude coordinates of the elderly person and express them in degrees, minutes and seconds; The latitude and longitude coordinates of the elderly are input into the projection formula, and the corresponding two-dimensional coordinates in the rectangular coordinate system of the house plane are calculated to obtain the real-time coordinates of the elderly.
6. A method for analyzing the number of times an elderly person gets up at night as claimed in claim 5, characterized in that: The specific steps of analyzing the real-time coordinates of the elderly to obtain the number of times the elderly get up at night include: Get the real-time coordinates of the elderly within the preset time period and sort them in ascending order of time; The real-time coordinates of the elderly are analyzed and compared with the coordinates in the elderly's bedroom area coordinate set and the bathroom coordinate set in order to obtain the name of the area where the elderly is located at each time; Each time the elderly person changes their place of residence from the bedroom to the bathroom, it is recorded as one time they get up to go to the bathroom, and the number of times they get up to go to the bathroom during the entire preset time period is counted.
7. A method for analyzing the number of times an elderly person gets up at night as claimed in claim 6, characterized in that: Each time the elderly person changes his / her area from the bedroom to the bathroom, it is recorded as one time of getting up at night. After counting the number of times the elderly person gets up at night in the entire preset time period, the method further includes the following steps: Analyze the number of times the elderly get up at night to determine whether there is any abnormality.
8. A method for analyzing the frequency of getting up at night for the elderly as claimed in claim 7, characterized in that: After analyzing and judging whether the number of times the elderly get up at night is abnormal, the method further includes the following steps: When the number of times an elderly person gets up at night is judged to be abnormal, the data is sent to the family members' mobile phones using a wireless network.
9. A method for analyzing the number of times an elderly person gets up at night as claimed in claim 8, characterized in that: The analyzing and judging whether there is an abnormality in the number of times the elderly get up at night based on the number of times the elderly get up at night specifically includes: when the number of times the elderly get up at night is 0 to 2 times, it is judged to be a normal situation; when the number of times the elderly get up at night is greater than 2 times, it is judged to be an abnormal situation.
10. A home-based elderly care medical system, using the method for analyzing the number of times an elderly person gets up at night as described in any one of claims 1 to 9, characterized in that: It includes a coordinate system creation module, a coordinate set acquisition module, an elderly coordinate annotation module, and a night-time analysis module; The coordinate system creation module, the coordinate set acquisition module, the elderly coordinate marking module and the night-time analysis module are connected in sequence; The coordinate system creation module is used to obtain the house floor plan and establish a house plane rectangular coordinate system with the house center as the origin; The coordinate set acquisition module is used to mark the coordinate sets of the areas where the elderly's bedroom and bathroom are located in the rectangular coordinate system of the house plane according to the house floor plan; The elderly coordinate marking module is used to obtain the elderly's location information in real time, convert the elderly's location information into coordinates in the rectangular coordinate system of the house plane, and obtain the elderly's real-time coordinates; The night-time waking analysis module is used to analyze the real-time coordinates of the elderly and obtain the number of times the elderly get up at night.