Physical sign data complementing method and electronic equipment

Through electronic equipment calculation and completion of the missing sign data caused by interruption in the monitor, the average value or functional relationship method is used to solve the problems of inaccurate data and large workload of manual completion, and improve the accuracy and continuity of data sex.

CN119423709APending Publication Date: 2025-02-14QINGDAO HISENSE MEDICAL EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310968712.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-02
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In hospital operating rooms, monitors may be cut off due to network instability or hardware connectivity, resulting in the loss of patient signs and data. The existing technology usually relies on manual completion by nurses or doctors, and the accuracy of the data cannot be guaranteed. and increase workload.

Method used

The missing data is obtained through electronic devices, the missing data is calculated, and the average or median value is used to complete the missing data by determining the functional relationship between adjacent time points.

Benefits of technology

Improve the accuracy of the full-market data, reduce the workload of doctors and nurses, and ensure the continuity and reliability of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119423709A_ABST
    Figure CN119423709A_ABST
Patent Text Reader

Abstract

The invention discloses a sign data complementing method and electronic equipment. The method comprises the steps that a physical sign data set corresponding to a first time period is obtained, and the first time period comprises M time points; and if the physical sign data set comprises the physical sign data of the user acquired by the acquisition equipment at N time points in the M time points, complementing the physical sign data corresponding to other time points except the N time points in the M time points according to the physical sign data of the user acquired by the acquisition equipment at K time points in the second time period. By adopting the method, the missing physical sign data is calculated according to the collected physical sign data, so that the accuracy of the complemented physical sign data can be improved, and the workload of doctors and nurses can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method for completing vital sign data and an electronic device. Background Art

[0002] In the hospital operating room, the monitor can collect the patient's vital signs data at multiple consecutive time points, so that doctors and nurses can make correct judgments about the patient's vital signs based on the continuously collected vital signs data.

[0003] However, due to network instability or hardware connectivity, the monitor may be disconnected, that is, the patient's vital sign data collected by the monitor at one or more time points is missing. Currently, nurses or doctors usually manually fill in the missing vital sign data, which not only cannot guarantee the accuracy of the vital sign data, but also increases the workload of nurses or doctors. Summary of the invention

[0004] The present invention provides a method for completing vital sign data and an electronic device, which calculate the missing vital sign data according to the collected vital sign data, thereby improving the accuracy of the completed vital sign data and facilitating reducing the workload of doctors and nurses.

[0005] In the first aspect, an embodiment of the present invention provides a method for completing vital sign data, which can be executed by an electronic device. Specifically, the method includes: the electronic device obtains a set of vital sign data corresponding to a first time period, and the first time period includes M time points; if the set of vital sign data includes the vital sign data of the user collected by the acquisition device at N time points among the M time points, then according to the vital sign data of the user collected by the acquisition device at K time points in a second time period, the vital sign data corresponding to other time points in the M time points except the N time points are completed; wherein the second time period is before the first time period, or the second time period partially overlaps with the first time period; M, N, and K are all integers greater than or equal to 1, and N is less than M.

[0006] In a possible implementation, the other time points include the first time point; completing the vital sign data corresponding to the first time point includes: selecting P time points from the K time points; wherein the interval between any time point among the P time points and the first time point is less than or equal to the interval between any time point among the K time points other than the P time points and the first time point, and P is an integer greater than 2; based on the vital sign data corresponding to the P time points, completing the vital sign data corresponding to the first time point.

[0007] In a possible implementation, the vital sign data corresponding to the first time point is completed based on the vital sign data corresponding to the P time points, including: taking the average value or median value of the vital sign data corresponding to the P time points as the vital sign data corresponding to the first time point.

[0008] In a possible implementation, the other time points include a second time point; completing the vital sign data corresponding to the second time point includes: determining the functional relationship between any two adjacent time points among the K time points based on the vital sign data corresponding to the K time points; when the second time point is between time point i and time point i+1 among the K time points, determining the vital sign data corresponding to the second time point based on the functional relationship between time point i and time point i+1; when the second time point is after the last time point among the K time points, or before the first time point among the K time points, determining the vital sign data corresponding to the second time point based on the functional relationship between time point j and time point j+1; the time point j or the time point j+1 is the time point closest to the second time point.

[0009] In a possible implementation manner, the functional relationship between any two adjacent time points is a linear functional relationship or a nonlinear functional relationship.

[0010] In a second aspect, an embodiment of the present invention further provides a method for completing vital sign data, which can be executed by an electronic device. Specifically, the method includes: obtaining a set of vital sign data corresponding to a first time period, the first time period including M time points; if the set of vital sign data includes the vital sign data of the user collected by the collection device at N time points among the M time points, then based on the vital sign data of the user collected by the collection device at N time points within the first time period, completing the vital sign data corresponding to other time points among the M time points except the N time points.

[0011] In a possible implementation, the other time points include the first time point; completing the vital sign data corresponding to the first time point includes: selecting P time points from the N time points; wherein the interval between any time point among the P time points and the first time point is less than or equal to the interval between any time point among the N time points other than the P time points and the first time point, and P is an integer greater than 2; based on the vital sign data corresponding to the P time points, completing the vital sign data corresponding to the first time point.

[0012] In a possible implementation, the vital sign data corresponding to the first time point is completed based on the vital sign data corresponding to the P time points, including: taking the average value or median value of the vital sign data corresponding to the P time points as the vital sign data corresponding to the first time point.

[0013] In a possible implementation, the other time points include a second time point; completing the vital sign data corresponding to the second time point includes: determining the functional relationship between any two adjacent time points among the N time points based on the vital sign data corresponding to the N time points; when the second time point is between time point i and time point i+1 among the N time points, determining the vital sign data corresponding to the second time point based on the functional relationship between time point i and time point i+1; when the second time point is after the last time point among the N time points, or before the first time point among the N time points, determining the vital sign data corresponding to the second time point based on the functional relationship between time point j and time point j+1; the time point j or the time point j+1 is the time point closest to the second time point.

[0014] In a possible implementation manner, the functional relationship between any two adjacent time points is a linear functional relationship or a nonlinear functional relationship.

[0015] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: an acquisition module, for acquiring a set of vital sign data corresponding to a first time period, the first time period including M time points; a processing module, for completing the vital sign data corresponding to other time points among the M time points except the N time points, based on the vital sign data of the user collected by the collection device at K time points in a second time period, if the set of vital sign data includes the vital sign data of the user collected by the collection device at N time points among the M time points; wherein the second time period is before the first time period, or the second time period partially overlaps with the first time period; M, N, and K are all integers greater than or equal to 1, and N is less than M.

[0016] In a possible implementation, the other time points include a first time point, and the acquisition module is further used to select P time points from the K time points; wherein, the interval between any time point among the P time points and the first time point is less than or equal to the interval between any time point among the K time points other than the P time points and the first time point, and P is an integer greater than 2; the processing module is further used to complete the vital sign data corresponding to the first time point based on the vital sign data corresponding to the P time points.

[0017] In a possible implementation, the processing module is specifically configured to use an average value or a median value of the vital sign data corresponding to the P time points as the vital sign data corresponding to the first time point.

[0018] In a possible implementation, the other time points include a second time point, and the processing module is further used to determine the functional relationship between any two adjacent time points among the K time points based on the vital sign data corresponding to the K time points; when the second time point is between time point i and time point i+1 among the K time points, the vital sign data corresponding to the second time point is determined based on the functional relationship between the time point i and the time point i+1; when the second time point is after the last time point among the K time points, or before the first time point among the K time points, the vital sign data corresponding to the second time point is determined based on the functional relationship between time point j and time point j+1; the time point j or the time point j+1 is the time point closest to the second time point.

[0019] In a possible implementation manner, the functional relationship between any two adjacent time points is a linear functional relationship or a nonlinear functional relationship.

[0020] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising: an acquisition module, for acquiring a set of vital sign data corresponding to a first time period, the first time period including M time points; a processing module, for completing the vital sign data corresponding to other time points among the M time points except the N time points based on the vital sign data of the user collected by the collection device at the N time points within the first time period, if the set of vital sign data includes the vital sign data of the user collected by the collection device at N time points among the M time points.

[0021] In one possible implementation, the other time points include a first time point; the acquisition module is also used to select P time points from the N time points; wherein, the interval between any time point among the P time points and the first time point is less than or equal to the interval between any time point among the N time points other than the P time points and the first time point, and P is an integer greater than 2; the processing module is also used to complete the vital sign data corresponding to the first time point based on the vital sign data corresponding to the P time points.

[0022] In a possible implementation, the processing module is also used to complete the vital sign data corresponding to the first time point based on the vital sign data corresponding to the P time points, including: taking the average value or median value of the vital sign data corresponding to the P time points as the vital sign data corresponding to the first time point.

[0023] In one possible implementation, the other time points include a second time point; the processing module is also used to determine the functional relationship between any two adjacent time points among the N time points based on the vital sign data corresponding to the N time points; when the second time point is between time point i and time point i+1 among the N time points, the vital sign data corresponding to the second time point is determined based on the functional relationship between the time point i and the time point i+1; when the second time point is after the last time point among the N time points, or before the first time point among the N time points, the vital sign data corresponding to the second time point is determined based on the functional relationship between time point j and time point j+1; the time point j or the time point j+1 is the time point closest to the second time point.

[0024] In a possible implementation manner, the functional relationship between any two adjacent time points is a linear functional relationship or a nonlinear functional relationship.

[0025] In a fifth aspect, an embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory is used to store computer programs or instructions, and the processor is used to call the computer programs or instructions stored in the memory to execute a method as described in any possible design of the first aspect and / or the second aspect.

[0026] In a sixth aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When a computer reads and executes the instructions, the computer executes a method in any possible design of the first aspect and / or the second aspect above.

[0027] In a seventh aspect, the present application provides a computer program product, wherein instructions are stored in the computer program product. When a computer reads and executes the instructions, the computer executes a method in any possible design of the first aspect and / or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0029] Figure 1 A system architecture diagram provided for an embodiment of the present invention;

[0030] Figure 2 A flow chart of completing vital sign data provided by an embodiment of the present invention;

[0031] Figure 3 A physical sign data display diagram provided by an embodiment of the present invention;

[0032] Figure 4 A schematic diagram of the relationship between a second time period and a first time period provided in an embodiment of the present invention;

[0033] Figure 5 Schematic diagram of the relationship between four other second time periods and the first time period provided in the embodiment of the present invention;

[0034] Figure 6 A schematic diagram of a cubic difference spline method provided by an embodiment of the present invention;

[0035] Figure 7 A schematic diagram of vital sign data provided by an embodiment of the present invention;

[0036] Figure 8 A schematic diagram of a supplementary vital sign data provided by an embodiment of the present invention;

[0037] Fig. 9 An exemplary block diagram of an electronic device provided by an embodiment of the present invention;

[0038] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all 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.

[0040] Figure 1 A schematic diagram of a system architecture provided in an embodiment of the present application. Figure 1 As shown, the system architecture includes a collection device and an electronic device, and the collection device and the electronic device are introduced below respectively.

[0041] (1) Collection equipment

[0042] The collection device is used to collect the vital sign data of the user (for example, the user may be a patient who needs to undergo surgery) and transmit the vital sign data to the electronic device. The surgery may be a surgery that requires anesthesia, or other possible surgeries.

[0043] Exemplarily, the acquisition device may be a monitor, or may be other instruments capable of acquiring the user's vital sign data. For example, a suitable acquisition device may be selected to acquire the user's vital sign data according to different types of surgery. The user's vital sign data may include one or more of the following: systolic blood pressure, diastolic blood pressure, pulse, spontaneous respiratory rate, assisted respiratory rate, heart rate, body temperature, average blood pressure, invasive systolic blood pressure, and diastolic blood pressure.

[0044] (2) Electronic equipment

[0045] The electronic device can be connected to the acquisition device, and the connection can be a wired connection or a wireless connection, which is not specifically limited. The electronic device can be a device with a display screen such as a desktop computer, a laptop computer or a tablet computer.

[0046] For example, an electronic device may be equipped with a surgery-related application or system (such as a surgical anesthesia system). A doctor or nurse may set the user's vital sign data to be collected through the surgical anesthesia system, and then after the electronic device obtains the corresponding vital sign data from the collection device, it may be displayed on a display screen for the doctor or nurse to view.

[0047] In addition, doctors or nurses can also input the user's medication information into the surgical anesthesia system, such as medication type, medication dosage, medication start time and end time, medication frequency, medication annotation method, etc. The surgical anesthesia system can also store user information, which can be imported into the surgical anesthesia system from the doctor's diagnosis system. The user's information can include the user's height, weight, age, surgery type, and surgery time; optionally, the user's information can also include the doctor who performed the surgery on the user, the relevant nurses, the user's previous medical records, and the doctor's diagnosis information on the user.

[0048] exist Figure 1 In the illustrated system architecture, when the communication network between the acquisition device and the electronic device is unstable or the connection between the user and the acquisition device is poor, the acquisition device may be disconnected, resulting in missing vital sign data. Currently, doctors or nurses usually manually complete the missing vital sign data, which cannot ensure the accuracy of the completed data and increases the workload of doctors or nurses.

[0049] Based on this, an embodiment of the present application provides a method for completing vital sign data, which is used to calculate missing vital sign data based on the collected vital sign data, thereby improving the accuracy of the completed vital sign data and facilitating reducing the workload of doctors and nurses.

[0050] Figure 2 Schematic diagram of the flow chart corresponding to the method for completing vital sign data provided in an embodiment of the present invention. Figure 2As shown, the process may include:

[0051] Step 201: The electronic device obtains a set of vital sign data corresponding to a first time period, where the first time period includes M time points.

[0052] Exemplarily, the collection device can collect user vital sign data in real time, for example, the collection device can collect at least one of the following in real time: systolic pressure, diastolic pressure, pulse, spontaneous breathing rate, assisted breathing rate, heart rate, body temperature, average blood pressure, average A pressure, invasive systolic pressure and diastolic pressure. The collection frequencies of different types of vital sign data can be the same or different, for example, the collection frequency of systolic pressure and diastolic pressure can be higher than the collection frequency of body temperature (for example, systolic pressure and diastolic pressure are collected once every 1 minute, and body temperature is collected once every 10 minutes).

[0053] Furthermore, after collecting the vital sign data, the collection device can send the collected vital sign data to the electronic device, or can also send the collected vital sign data to the electronic device periodically (i.e., at a certain time interval). For example, the collection device can send the user's vital sign data collected within 5 minutes to the electronic device every 5 minutes. The specific time interval can be set according to actual needs. It is understandable that the collection device can actively send the collected vital sign data to the electronic device, or the collection device can also send the collected vital sign data to the electronic device based on the request of the electronic device.

[0054] After receiving the vital sign data collected by the collection device, the electronic device can display it on the display screen of the electronic device, such as Figure 3 As shown. Figure 3 It can be seen that the electronic device's display screen records the user's vital sign data between 12:17:01 and 16:17:01, recording the data every 5 minutes in the form of dots. Different types of vital sign data are marked with different symbols to distinguish different types of vital sign data. For example, body temperature is marked with solid dots, heart rate is marked with stars, and spontaneous breathing rate is represented by hollow dots.

[0055] Among them, if the user's vital sign data exceeds the threshold, it will be highlighted with a red mark. For example, if the body temperature information is set to be represented by a purple solid dot, when the user's temperature exceeds the temperature threshold set by the doctor, such as the temperature threshold set by the doctor is 40 degrees Celsius, and the electronic device obtains the user's temperature of 41 degrees Celsius, the electronic device will be marked with a red solid dot at this time, so as to more prominently remind the doctor or nurse of the user's vital signs.

[0056] Similarly, for other types of vital signs data, such as pulse, average blood pressure, heart rate, etc., corresponding thresholds can be set according to different ages, genders, physical constitutions, and types of surgery of users. In particular, if no threshold is set, a default threshold can be used. For example, under normal circumstances, a person's body temperature exceeding 40 degrees Celsius is life-threatening, so the default body temperature threshold is 40 degrees Celsius.

[0057] When an electronic device obtains a user's vital sign data from a collection device, the collection device may be disconnected due to unstable network or unstable connection between the collection device and the user, resulting in the loss of some vital sign data, and then data points may be missing on the display screen of the electronic device. Figure 3 It can be seen that in the area circled in the box, i.e., between 12:47:01 and 13:17:01, some of the vital sign data such as body temperature are missing.

[0058] In an embodiment of the present application, for a certain type of vital sign data (such as body temperature), the electronic device can obtain a set of vital sign data corresponding to a first time period, so as to determine whether there is any missing vital sign data in the first time period. For example, if the first time period is 20 minutes, in this case, the electronic device can check every 20 minutes whether there is any missing vital sign data in the 20 minutes.

[0059] The first time period may include M time points, which are the time points at which the acquisition device should collect vital sign data. The number of time points included in the first time period is related to the frequency of collecting vital sign data.

[0060] Step 202, if the vital sign data set includes the user's vital sign data collected by the collection device at N time points out of M time points, the electronic device completes the vital sign data corresponding to other time points out of the M time points except N time points based on the user's vital sign data collected by the collection device at K time points in the second time period.

[0061] Here, if the set of vital sign data includes the vital sign data of the user collected by the collection device at M time points, it means that there is no missing vital sign data in the first time period. If the set of vital sign data includes the vital sign data of the user collected by the collection device at N time points out of M time points (N is less than M), it means that there is missing vital sign data in the first time period; in this case, the electronic device can complete the vital sign data corresponding to other time points in the M time points except N time points.

[0062] Exemplarily, the second time period may be before the first time period, that is, the electronic device may supplement the missing vital sign data in the first time period based on the vital sign data collected at K time points previously. Figure 4As shown, from Figure 4 It can be seen that the end position of the second time period can be the same as the start position of the first time period, and the duration of the second time period can be selected appropriately. For example, if the electronic device detects the vital sign data of the user in the first time period (12:00 to 12:20), the second time period can be 11:40 to 12:00. The duration of the second time period can be determined according to actual conditions.

[0063] Alternatively, the second time period may overlap with the first time period; there are many specific overlapping methods, such as Figure 5 As shown, for example, Figure 5 As shown in (a), the second time period completely overlaps with the first time period, that is, the second time period is the same as the first time period (or, the second time period and the first time period are the same time period, in which case, K time points are N time points). For example, the first time period is from 12:00 to 12:20, and the second time period is also from 12:00 to 12:20; for another example, Figure 5 (b), the end position of the second time period is the same as the end position of the first time period, but the start position of the second time period is before the start position of the first time period. For example, the first time period is from 12:00 to 12:20, and the second time period is from 11:50 to 12:20; for another example, Figure 5 (c), the end position of the second time period is after the end position of the first time period, and the start position of the second time period is before the start position of the first time period. For example, the first time period is from 12:00 to 12:20, and the second time period is from 11:50 to 12:30; for another example, Figure 5 As shown in (d), the starting position of the second time period is the same as the starting position of the first time period, but the ending position of the second time period is after the starting position of the first time period. For example, the first time period is from 12:00 to 12:20, and the second time period is from 12:00 to 12:10.

[0064] Among them, there are many specific ways for the electronic device to complete the vital sign data corresponding to other time points except N time points in M ​​time points based on the vital sign data of the user collected at K time points in the second time period. Two possible implementations are described below in combination with implementation method 1 and implementation method 2.

[0065] (1) Implementation method 1

[0066] In implementation mode 1, the description is made by taking the completion of the vital sign data corresponding to the first time point as an example.

[0067] Specifically, the electronic device may select P time points from the K time points, wherein the interval between any time point among the P time points and the first time point is less than or equal to the interval between any time point among the K time points other than the P time points and the first time point, and P is an integer greater than 2. For example, P may be a preset fixed value, in which case the electronic device may select the P time points closest to the first time point based on the intervals between the K time points and the first time point; for another example, the electronic device may select the P time points whose intervals with the first time point are less than or equal to the interval threshold from the K time points based on a preset interval threshold.

[0068] Furthermore, the electronic device can complete the vital sign data corresponding to the first time point according to the vital sign data corresponding to the P time points. For example, the electronic device can use the average value or median value of the vital sign data corresponding to the P time points as the vital sign data corresponding to the first time point.

[0069] It is understandable that, for other time points other than the first time point where supplementary vital sign data is required, the implementation at the first time point may also be referred to.

[0070] By adopting the above-mentioned implementation method 1, the vital sign data corresponding to the first time point is supplemented based on the vital sign data corresponding to P time points closer to the first time point, so that the supplemented vital sign data corresponding to the first time point is more accurate and reasonable, and the implementation is relatively simple, with less calculation amount.

[0071] (2) Implementation method 2

[0072] In implementation mode 2, the description is made by taking the completion of the vital sign data corresponding to the second time point as an example.

[0073] Specifically, the electronic device can determine the functional relationship between any two adjacent time points among the K time points based on the vital sign data corresponding to the K time points; further, when the second time point is between time point i and time point i+1 among the K time points, the vital sign data corresponding to the second time point is determined based on the functional relationship between the time point i and the time point i+1; when the second time point is after the last time point among the K time points, or before the first time point among the K time points, the vital sign data corresponding to the second time point is determined based on the functional relationship between time point j and time point j+1; the time point j or the time point j+1 is the time point closest to the second time point.

[0074] The functional relationship between any two adjacent time points may be a linear functional relationship or a nonlinear functional relationship. When the functional relationship between any two adjacent time points is a nonlinear functional relationship, the above method may be implemented by a cubic spline interpolation method.

[0075] The cubic spline interpolation method is introduced here.

[0076] In a time period, if n+1 individual characteristic data are known, we can use x0, x1, ... n Indicates that Figure 6 As shown in the figure, the value of n is not specifically limited in the cubic spline interpolation method. These n+1 data divide this period into n intervals, [(x0,x1), (x1,x2)… (x n-1 ,x n )], construct a cubic spline interpolation function in each interval, so n cubic functions are constructed in n intervals, using S0(x)~S n-1 (x) indicates that each cubic spline interpolation function is assumed to be:

[0077] S i (x) = a i +b i (xx i )+c i (xx i ) 2 +d i (xx i ) 3 ,i=0,1,....n-1;

[0078] The function should meet the following four conditions:

[0079] (1) Except for the first node (x0, y0) and the last node (x n ,y n ), the other nodes have no jump, that is, for the node (x1, y1) to the node (x n-1 ,y n-1 ) can satisfy both the previous and the latter functions. For example, for any intermediate node, such as node (x1, y1), node (x1, y1) is both a point on function S0(x) and a point on function S1(x), so S0(x1) = y1, S1(x1) = y1;

[0080] The first node (x0, y0) and the last node (x n ,y n) are at the two endpoints, so the first node (x0, y0) satisfies the function S0(x), and the last node (x n ,y n ) satisfies the function S n-1 (x);

[0081] (2) Except for the first node (x0, y0) and the last node (x n ,y n ), the remaining nodes all have limits, that is, for any intermediate node, the left limit of the node is equal to the right limit. For example, for any intermediate node, such as the node (x1, y1), the left limit of the node is the limit of the function S0(x) at x1, and the right limit of the node is the limit of the function S1(x) at x1, so the function S ′ 0(x1)=S ′ 1(x1);

[0082] (3) Except for the first node (x0, y0) and the last node (x n ,y n ), the remaining nodes have the same radius of curvature, that is, for any intermediate node, the second-order derivative of the node is continuous. For example, for any intermediate node, such as the node (x1, y1), the second-order derivative of the node is continuous, which means that the second-order derivative of the function S0(x) at x1 is equal to the second-order derivative of the function S1(x) at x1. Therefore, S0 ″ (x1) = S1 ″ (x1);

[0083] (4) The endpoints satisfy the free boundary conditions.

[0084] These four conditions can be expressed as follows:

[0085] (1) For all nodes except the first node (x0, y0) and the last node (x n ,y n )’s other nodes: S i (x i+1 )=y i+1 =S i+1 (x i+1 );

[0086] For the first node (x0, y0): S0(x0) = y0;

[0087] For the last node (x n ,y n ): S n-1 (x n )=y n ;

[0088] (2) For all nodes except the first node (x0, y0) and the last node (x n ,y n ) of the remaining nodes, S i ′ (x i+1 )=S i ′ +1 (x i+1 );

[0089] (3) For all nodes except the first node (x0, y0) and the last node (x n ,y n ) of the remaining nodes, S i ″ (x i+1 )=S i ″ +1 (x i+1 );

[0090] (4) For the first node (x0, y0) and the last node (x n ,y n ): S0 ″ (x0) = S n ″ -1 (x n )=0.

[0091] Since the cubic spline interpolation function has the above four conditions, the generated cubic spline interpolation function is in the interval [x0,x n ] has sufficient smoothness and excellent mathematical properties.

[0092] The following takes the example that the first time period and the second time period are the same to describe the specific implementation of supplementing the vital sign data through the cubic spline interpolation method. For example, the electronic device detects the vital sign data collected in the first time period (15:00-15:20) at 15:20. If the electronic device obtains a vital sign data from the collection device every 5 minutes, that is, at 15:00, the collected vital sign data is 3; at 15:05, the collected vital sign data is 5; at 15:10, the vital sign data is lost; at 15:15, the collected vital sign data is 9; at 15:20, the collected vital sign data is 12. Then the four data obtained can be recorded as x0=1, y0=3; x1=2, y1=5; x2=4, y2=9; x3=5, y3=12. Figure 7 As shown, a cubic spline interpolation function is constructed in each interval (x0, x1), (x1, x2), (x2, x3). The three functions can be expressed as:

[0093] S0(x)=a0+b0(x-1)+c0(x-1) 2 +d0(x-1) 3 ;

[0094] S1(x)=a1+b1(x-2)+c1(x-2) 2 +d1(x-2) 3 ;

[0095] S2(x)=a2+b2(x-4)+c2(x-4) 2 +d2(x-4) 3 ;

[0096] Combining the 4 collected data with the above 4 conditions, we can get the following 12 formulas:

[0097] Condition 1: For all nodes except the first node (x0, y0) and the last node (x n ,y n ) nodes other than S i (x i+1 )=y i+1 =S i+1 (x i+1 ), that is, in the embodiment of the present application, for the node (x1, y1) and the node (x2, y2), S0(x1)=y1=S1(x1), S1(x2)=y2=S2(x2).

[0098] S0(x1)=y1=5, substitute x1=2 into the function S0(x) to obtain a0+b0+c0+d0=5;

[0099] S1(x1)=y1=5, substitute x1=2 into the function S1(x) to get a1=5;

[0100] S1(x2)=y2=9, substitute x2=4 into the function S1(x) to obtain a1+2b2+4c1+8d1=9;

[0101] S2(x2)=y2=9, substitute x2=4 into the function S2(x) to get a2=9;

[0102] For the first node (x0, y0): S0(x0) = y0 = 3; Substitute x0 = 1 into the function S0(x) to obtain a0 = 3;

[0103] For the last node (x3, y3): S2(x3)=y3=12; Substitute x3=5 into the function S2(x) to get a2+b2+c2+d2=12;

[0104] Condition 2: For all nodes except the first node (x0, y0) and the last node (xn ,y n ) nodes outside the i ′ (x i+1 )=S i ′ +1 (x i+1 ), that is, in the embodiment of the present application, for the node (x1, y1) and the node (x2, y2), S ′ 0(x1)=S ′ 1(x1),S ′ 1(x2)=S ′ 2(x2).

[0105] For the node (x1, y1): S0(x) = a0 + b0(x-1) + c0(x-1) 2 +d0(x-1) 3 Derivative S ′ 0(x)=b0+2c0(x-1)+3d0(x-1) 2 , substitute x1=2 into S ′ 0(x1)=b0+2c0+3d0(x-1) 2 , get S ′ 0(x1)=b0+2c0+3d0;

[0106] From S1(x)=a1+b1(x-2)+c1(x-2) 2 +d1(x-2) 3 Derivative S ′ 1(x)=b1+2c1(x-2)+3d1(x-2) 2 , substitute x1=2 into S ′ 1(x)=b1+2c1+3d1(x-2) 2 , get S ′ 1(x1)=b1;

[0107] By S ′ 0(x1)=S ′ 1(x1) gives b0+2c0+3d0=b1;

[0108] For the node (x2, y2): S1(x) = a1 + b1(x-2) + c1(x-2) 2 +d1(x-2) 3 , take the first-order derivative and get S ′ 1(x)=b1+2c1(x-2)+3d1(x-2) 2 , substitute x2=4 into S ′1(x)=b1+2c1(x-2)+3d1(x-2) 2 , get S ′ 1(x2)=b1+4c1+12d1;

[0109] From S2(x)=a2+b2(x-4)+c2(x-4) 2 +d2(x-4) 3 , take the first-order derivative and get S ′ 2(x)=b2+2c2(x-4)+3d2(x-4) 2 , substitute x2=4 into S ′ 2(x)=b2+2c2(x-4)+3d2(x-4) 2 , get S ′ 2(x2)=b2;

[0110] By S ′ 1(x2)=S ′ 2(x2) yields b1+4c1+12d1=b2.

[0111] Condition 3: For all nodes except the first node (x0, y0) and the last node (x n ,y n ) of the remaining nodes, S i ″ (x i+1 )=S i ″ +1 (x i+1 ), that is, in the embodiment of the present application, for the node (x1, y1) and the node (x2, y2), S0 ″ (x1) = S1 ″ (x1), S1 ″ (x2) = S2 ″ (x2).

[0112] For the node (x1, y1): According to the S calculated above ′ 0(x)=b0+2c0(x-1)+3d0(x-1) 2 Derivative S0 ″ (x) = 2c0 + 6d0 (x-1), substitute x1 = 2 into S0 ″ (x) = 2c0 + 6d0 (x-1) to get S0 ″ (x1) = 2c0 + 6d0;

[0113] According to the above calculated S ′ 1(x)=b1+2c1(x-2)+3d1(x-2) 2 Derivative S1 ″(x) = 2c1 + 6d1 (x-2), substitute x1 = 2 into S1 ″ (x) = 2c1 + 6d1 (x-2) to get S1 ″ (x1) = 2c1;

[0114] By S0 ″ (x1) = S1 ″ (x1) gives 2c0+6d0=2c1;

[0115] For the node (x2, y2): According to the S1 calculated above ″ (x) = 2c1 + 6d1 (x-2), substitute x2 = 4 into S1 ″ (x) = 2c1 + 6d1 (x-2) to get S1 ″ ((x2) = 2c1 + 12d1;

[0116] According to the above calculated S ′ 2(x)=b2+2c2(x-4)+3d2(x-4) 2 Derivative S2 ″ (x) = 2c2 + 6d2 (x-4), substitute x2 = 4 into S2 ″ (x) = 2c2 + 6d2 (x-4) to get S2 ″ (x2) = 2c2;

[0117] By S1 ″ (x2) = S2 ″ (x2) obtains 2c1+12d1=2c2.

[0118] Condition 4: For the first node (x0, y0) and the last node (x n ,y n ): S0 ″ (x0) = S n ″ -1 (x n )=0, that is, in the embodiment of the present application, for the node (x0, y0) and the node (x3, y3), S0 ″ (x0) = S2 ″ (x3)=0.

[0119] For the first node (x0, y0): According to the S0 calculated above ″ (x) = 2c0 + 6d0 (x-1), substitute x0 = 1 to get S0 ″ (x0) = 2c0 = 0;

[0120] For the last node (x3, y3): According to the S2 calculated above ″(x) = 2c2 + 6d2 (x-4), substitute x3 = 5 to get S2 ″ (x3)=2c2+6d2=0.

[0121] According to the 12 equations obtained above, we can calculate:

[0122] S0(x)=a0+b0(x-1)+c0(x-1) 2 +d0(x-1) 3 ;

[0123] S1(x)=a1+b1(x-2)+c1(x-2) 2 +d1(x-2) 3 ;

[0124] S2(x)=a2+b2(x-4)+c2(x-4) 2 +d2(x-4) 3 ;

[0125] The 12 coefficients of the three functions are a0=3, b0=2.062, c0=0, d0=-0.062; a1=5, b1=1.875, c1=-0.187, d1=0.125; a2=9, b2=-0.1875, c2=0.562, d2=2.62.

[0126] After substituting the coefficients, S0(x)=3+2.062(x-1)-0.062(x-1) 3 ;

[0127] S1(x)=5+1.875(x-2)-0.187(x-2) 2 +0.125(x-2) 3 ;

[0128] S2(x)=9-0.1875(x-4)+0.562(x-4) 2 +2.62(x-4) 3 ;

[0129] Furthermore, since 15:10 is between 15:05 and 15:15, and 15:05 is recorded as x1=2, and 15:15 is recorded as x2=4, 15:10 can be calculated as x=3. In this way, the vital sign data lost by the electronic device at 15:10 can substitute x=3 into the function S1(x) of the interval [x1, x2], and calculate S1(3)=6.813. The completed vital sign data is shown in the figure below. Figure 8 shown.

[0130] In this way, the electronic device uses the cubic interpolation spline method to calculate the missing data at 15:10 based on the four data acquired from 15:00 to 15:20, and displays it on the display screen of the electronic device.

[0131] Since the cubic interpolation spline method determines the nonlinear functional relationship between adjacent time points based on the vital sign data corresponding to multiple time points actually collected, the completed vital sign data can be made more accurate.

[0132] Exemplarily, the electronic device may store the actually acquired vital sign data in one file, and store the vital sign data calculated based on the actually acquired vital sign data in another file, so as to enable doctors or nurses to distinguish which vital sign data are actually acquired and which are calculated.

[0133] In addition, after the operation is completed, the electronic device may no longer receive the user's vital sign data, and a pop-up box may pop up to ask whether to agree to save the user's vital sign data. At this time, the doctor or nurse can view the vital sign data calculated from the actual vital sign data obtained, and can change the calculated vital sign data according to the actual situation of the user. After the change is completed, the file storing the actual vital sign data and the vital sign data file calculated or changed based on the actual vital sign data are saved in the same file for subsequent use.

[0134] By adopting the above method, the electronic device can complete the missing vital sign data based on the acquired vital sign data. Compared with the manual completion method in the prior art, on the one hand, it is convenient to reduce the workload of doctors and nurses. On the other hand, since the actual collected vital sign data is fully referred to when completing the missing vital sign data, the accuracy of the completed vital sign data can be provided.

[0135] Fig. 9 A schematic diagram of the structure of an electronic device 9000 provided in an embodiment of the present application. Fig. 9 As shown, the device may include: an acquisition module 901 and a processing module 902, and optionally, a storage module, the storage module is used to store computer instructions or programs, and the processing module 902 can call the computer instructions or programs in the storage module.

[0136] Among them, the acquisition module 901 is used to acquire the vital sign data set corresponding to the first time period, and the first time period includes M time points; the processing module 902 is used to complete the vital sign data corresponding to other time points among the M time points except the N time points according to the vital sign data of the user collected by the collection device at K time points in the second time period if the vital sign data set includes the vital sign data of the user collected by the collection device at N time points among the M time points; wherein the second time period is before the first time period, or the second time period overlaps with the first time period; M, N, and K are all integers greater than or equal to 1, and N is less than M.

[0137] In a possible implementation, the processing module 902 is also used for: the other time points include the first time point; completing the vital sign data corresponding to the first time point, including: selecting P time points from the K time points; wherein the interval between any time point among the P time points and the first time point is less than or equal to the interval between any time point among the K time points other than the P time points and the first time point, and P is an integer greater than 2; and completing the vital sign data corresponding to the first time point based on the vital sign data corresponding to the P time points.

[0138] In a possible implementation, the processing module 902 is also used to: complete the vital sign data corresponding to the first time point based on the vital sign data corresponding to the P time points, including: taking the average value or median value of the vital sign data corresponding to the P time points as the vital sign data corresponding to the first time point.

[0139] In a possible implementation, the processing module 902 is also used for: the other time points include the second time point; completing the vital sign data corresponding to the second time point, including: determining the functional relationship between any two adjacent time points among the K time points based on the vital sign data corresponding to the K time points; when the second time point is between time point i and time point i+1 among the K time points, determining the vital sign data corresponding to the second time point based on the functional relationship between time point i and time point i+1; when the second time point is after the last time point among the K time points, or before the first time point among the K time points, determining the vital sign data corresponding to the second time point based on the functional relationship between time point j and time point j+1; the time point j or the time point j+1 is the time point closest to the second time point.

[0140] Fig.10 This is another structural diagram of an electronic device provided in an embodiment of the present application. Fig.10As shown, it includes at least one processor 1001 and a memory 1002 connected to the at least one processor. The specific connection medium between the processor 1001 and the memory 1002 is not limited in the embodiment of the present application. Fig.10 For example, the processor 1001 and the memory 1002 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0141] In the embodiment of the present application, the memory 1002 stores instructions that can be executed by at least one processor 1001. The at least one processor 1001 can implement the steps of the above-mentioned vital sign data completion method by executing the instructions stored in the memory 1002.

[0142] Among them, the processor 1001 is the control center of the computer device, which can use various interfaces and lines to connect various parts of the computer device, and perform resource settings by running or executing instructions stored in the memory 1002 and calling data stored in the memory 1002. Optionally, the processor 1001 may include one or more processing units, and the processor 1001 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1001. In some embodiments, the processor 1001 and the memory 1002 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.

[0143] Processor 1001 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware processor to be executed, or can be executed by a combination of hardware and software modules in the processor.

[0144] The memory 1002 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 1002 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 1002 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1002 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0145] Based on the same technical concept, an embodiment of the present application also provides a computer-readable storage medium, in which computer-readable instructions are stored. When a computer reads and executes the computer-readable instructions, the computer executes a method in any possible design of the first aspect mentioned above.

[0146] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

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

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

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

[0150] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for completing vital sign data, characterized in that: The method comprises: Acquire a set of vital sign data corresponding to a first time period, where the first time period includes M time points; If the set of vital sign data includes the vital sign data of the user collected by the collection device at N time points among the M time points, then based on the vital sign data of the user collected by the collection device at K time points within the second time period, the vital sign data corresponding to other time points among the M time points except the N time points are supplemented; The second time period is before the first time period, or the second time period partially overlaps with the first time period; M, N, and K are all integers greater than or equal to 1, and N is less than M.

2. The method according to claim 1, characterized in that The other time points include the first time point; Completing the vital sign data corresponding to the first time point includes: Select P time points from the K time points; wherein the interval between any time point among the P time points and the first time point is less than or equal to the interval between any time point among the K time points other than the P time points and the first time point, and P is an integer greater than 2; The vital sign data corresponding to the first time point is completed according to the vital sign data corresponding to the P time points.

3. The method according to claim 2, characterized in that Completing the vital sign data corresponding to the first time point according to the vital sign data corresponding to the P time points includes: The average value or median value of the vital sign data corresponding to the P time points is used as the vital sign data corresponding to the first time point.

4. The method according to claim 1, characterized in that: The other time points include a second time point; Completing the vital sign data corresponding to the second time point includes: Determine, according to the vital sign data corresponding to the K time points, a functional relationship between any two adjacent time points among the K time points; When the second time point is between the time point i and the time point i+1 among the K time points, determining the vital sign data corresponding to the second time point according to the functional relationship between the time point i and the time point i+1; When the second time point is located after the last time point among the K time points, or before the first time point among the K time points, the vital sign data corresponding to the second time point is determined according to the functional relationship between time point j and time point j+1; the time point j or the time point j+1 is the time point closest to the second time point.

5. The method according to claim 4, characterized in that The functional relationship between any two adjacent time points is a linear functional relationship or a nonlinear functional relationship.

6. A method for completing vital sign data, characterized in that: The method comprises: Acquire a set of vital sign data corresponding to a first time period, where the first time period includes M time points; If the vital sign data set includes the user's vital sign data collected by the collection device at N time points among the M time points, then the vital sign data corresponding to other time points among the M time points except the N time points are supplemented based on the user's vital sign data collected by the collection device at N time points within the first time period.

7. The method according to claim 6, characterized in that The other time points include the first time point; Completing the vital sign data corresponding to the first time point includes: Select P time points from the N time points; wherein the interval between any time point among the P time points and the first time point is less than or equal to the interval between any time point among the N time points other than the P time points and the first time point, and P is an integer greater than 2; The vital sign data corresponding to the first time point is completed according to the vital sign data corresponding to the P time points.

8. The method according to claim 6, characterized in that The other time points include a second time point; Completing the vital sign data corresponding to the second time point includes: Determining a functional relationship between any two adjacent time points among the N time points according to the vital sign data corresponding to the N time points; When the second time point is between the time point i and the time point i+1 among the N time points, determining the vital sign data corresponding to the second time point according to the functional relationship between the time point i and the time point i+1; When the second time point is located after the last time point among the N time points, or before the first time point among the N time points, the vital sign data corresponding to the second time point is determined according to the functional relationship between time point j and time point j+1; the time point j or the time point j+1 is the time point closest to the second time point.

9. An electronic device, characterized in that: include: Memory, used to store computer programs or instructions; A processor, configured to call a computer program or instruction stored in the memory to execute the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when a computer reads and executes the instructions, the computer executes the method according to any one of claims 1 to 8.