Intelligent bed communication encryption method based on edge computing terminal

By embedding an edge computing terminal within the smart bed, the periodic characteristics of communication data are collected and analyzed, and a hierarchical encryption method is established. This solves the problem of the imbalance between security and efficiency in existing smart bed communication encryption, and achieves the protection of highly sensitive data and energy saving of low-sensitivity data.

CN122226468APending Publication Date: 2026-06-16北京市产品质量监督检验研究院
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
北京市产品质量监督检验研究院
Filing Date
2026-04-17
Publication Date
2026-06-16

AI Technical Summary

Technical Problem

Existing smart bed communication encryption methods do not incorporate hierarchical encryption transmission based on data sensitivity, data classification, and communication link classification. This leads to privacy leaks of highly sensitive data and wasted power consumption of low-sensitive data, while also resulting in decreased real-time control and reduced device stability.

Method used

By embedding an edge computing terminal in the smart bed, communication data is collected and its periodic data characteristics are analyzed. A hierarchical encryption method is established to perform link encryption and special encryption on control command data, physiological monitoring data and status reporting data respectively.

Benefits of technology

It achieves hierarchical encryption of different types of data, improves real-time control and device stability, avoids privacy leaks of highly sensitive data and power consumption waste of low-sensitive data, and balances security and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122226468A_ABST
    Figure CN122226468A_ABST
Patent Text Reader

Abstract

The application discloses an intelligent bed communication encryption method based on an edge computing terminal, relates to the technical field of communication encryption, and comprises the following steps: acquiring terminal collection data; acquiring period data features based on the terminal collection data; establishing a link encryption method and a special encryption method; and encrypting intelligent bed communication based on the link encryption method and the special encryption method; the application is used to solve the problems that, in the existing intelligent bed communication encryption method, because the hierarchical encryption transmission based on data sensitivity, data classification and communication link classification is not introduced, high-sensitive data privacy leakage and low-sensitive data power waste exist after communication encryption, and because different data is not hierarchically encrypted, control real-time performance decreases and equipment stability deteriorates, thereby causing the problems of safety and efficiency imbalance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication encryption technology, specifically to a smart bed communication encryption method based on an edge computing terminal. Background Technology

[0002] A smart bed is a modern bed that integrates sensors, motors, and intelligent control systems. It can proactively adapt to the user's sleep needs and improve sleep quality by automatically adjusting the bed angle, providing health monitoring, and achieving smart home linkage. Smart bed communication encryption refers to the use of encryption technology to protect user privacy and data security when transmitting data with mobile apps, smart home systems, or other devices, preventing information from being stolen or tampered with.

[0003] Existing methods for encrypting communication in smart beds typically encrypt the data collected by the smart bed before sending the encrypted data to the user terminal. While this method encrypts data, it generally employs a single-layer, non-tiered, and uniform encryption approach across the entire communication chain. In practical use, the lack of tiered encryption based on data sensitivity, data classification, and communication link classification leads to privacy leaks of highly sensitive data and wasted power consumption of low-sensitivity data. Furthermore, the absence of tiered encryption for different types of data results in decreased real-time control and reduced device stability, causing a dual imbalance between security and efficiency. For example, in the case of publication number CN1... Patent application 15396877A uses symmetric encryption, hash verification, and identity authentication to achieve encryption of original sleep monitoring data, data integrity verification, and single-key end-to-end encryption. Other methods for smart bed communication encryption are usually improvements on the encryption methods of smart beds. They still suffer from problems such as privacy leaks of highly sensitive data and power consumption waste of low-sensitive data after communication encryption because they do not introduce hierarchical encryption transmission based on data sensitivity, data classification, and communication link classification. At the same time, the lack of hierarchical encryption for different data causes a decrease in control real-time performance and a deterioration in device stability, resulting in a double imbalance between security and efficiency. In view of this, it is necessary to improve the existing smart bed communication encryption methods. Summary of the Invention

[0004] This invention aims to at least partially solve one of the technical problems in the prior art. By proposing a smart bed communication encryption method based on edge computing terminals, it addresses the issue that existing smart bed communication encryption methods do not introduce hierarchical encryption transmission based on data sensitivity, data classification, and communication link classification. This results in privacy leaks of highly sensitive data and wasted power consumption of low-sensitive data after communication encryption. Furthermore, the lack of hierarchical encryption for different types of data leads to decreased real-time control and deteriorated device stability, resulting in a dual imbalance between security and efficiency.

[0005] To achieve the above objectives, this application provides a smart bed communication encryption method based on an edge computing terminal, characterized by comprising the following steps: An edge computing terminal is embedded within the smart bed body, and the edge computing terminal is used to collect the communication data of the smart bed, which is denoted as terminal-collected data; the periodic data characteristics of the smart bed are obtained based on the terminal-collected data. Based on the periodic data characteristics of the terminal-collected data, a link encryption method corresponding to each data in the terminal-collected data is established sequentially, and a special encryption method corresponding to each data is obtained based on the link encryption method of each data. When the smart bed is in operation, the communication of the smart bed is encrypted based on the link encryption method and the special encryption method of each data in the data collected by the terminal.

[0006] Furthermore, an edge computing terminal is embedded within the smart bed body, and the edge computing terminal is used to collect the smart bed's communication data, denoted as terminal-collected data; the periodic data characteristics of the smart bed obtained based on the terminal-collected data include: The edge computing terminal is embedded in the smart bed body and the edge computing terminal is used to collect the communication data between the smart bed and the user, which is referred to as terminal collected data. The terminal collected data includes control command data, physiological monitoring data and status reporting data. The terminal data analysis method is used to analyze the data collected by the terminal, and the periodic data characteristics of control command data, physiological monitoring data and status reporting data are obtained based on the analysis results.

[0007] Furthermore, terminal data analysis methods include: For control command data: Based on the user's historical control records of the smart bed, all control commands of the user to the smart bed are obtained, and all control commands are recorded as bed control command CK1 to bed control command CK. t The sum of the number of times the user uses all bed control commands in the historical control records is recorded as T. For any bed control command, obtain the control level in the smart bed's control panel that allows the execution of the bed control command, and record it as the controllable level of the command; Retrieve all records of user bed control commands from the historical control records, and record the number of times each command-controllable gear is used in all records as the number of times the command-controllable gear has been used; divide the number of times the gear has been used by T as the command usage ratio of the command-controllable gear; Establish a Cartesian coordinate system and denote it as the periodic analysis coordinate system. The units of the X-axis and Y-axis of the periodic analysis coordinate system are h and min, respectively. For any command-controlled gear: For any usage record of the command-controlled gear in the historical control record, record the time when the command-controlled gear was first used in the usage record as X1, record the duration of the command-controlled gear being used in the usage record as Y1, and record the point (X1, Y1) in the periodic analysis coordinate system as the gear usage point corresponding to the usage record.

[0008] Furthermore, terminal data analysis methods also include: Based on historical control records, obtain the gear usage points corresponding to all usage records of the command-controllable gears, and record the curve obtained by fitting all gear usage points in the periodic analysis coordinate system as the command usage curve of the command-controllable gear. Sequentially acquire the instruction usage ratio and instruction usage curve corresponding to all controllable gears of each bed control command, and record the instruction usage ratio and instruction usage curve corresponding to all controllable gears of all bed control commands as the periodic data characteristics of control command data.

[0009] Furthermore, terminal data analysis methods also include: For physiological monitoring data: Obtain all physiological data items monitored by the smart bed for the user, and record them as monitorable items KJ1 to monitorable items KJ. r For any monitorable item: Establish a Cartesian coordinate system, denoted as the physiological monitoring coordinate system, where the unit of the X-axis of the physiological monitoring coordinate system is h, and the unit of the Y-axis is the data unit corresponding to the monitorable item. For any monitoring record of a monitorable item performed in the smart bed: the start time of the monitoring record is recorded as X2, the value of the monitorable item in the monitoring record is recorded as Y2, and the point with coordinates (X2, Y2) in the physiological monitoring coordinate system is recorded as the valid monitoring point of the monitoring record; Furthermore, terminal data analysis methods also include: Obtain all valid monitoring points from all monitoring records, and record the curve obtained by fitting all valid monitoring points as the regular monitoring curve for the monitorable items; The routine monitoring curves of all monitorable items are recorded as periodic data characteristics of physiological monitoring data.

[0010] Furthermore, terminal data analysis methods also include: For status reporting data: For any status within the smart bed that needs to be reported, obtain all reporting records corresponding to that status and record them as status reporting record ZS1 to status reporting record ZS. e ; For any status report record, the time when the status report record is sent by the smart bed is recorded as t1, the time when the user receives the status report record is recorded as t2, and the difference between t2 and t1 is recorded as the reporting delay of the status report record; obtain the network delay corresponding to the network connected to the smart bed at time t1, and record it as k; divide the reporting delay by k and record it as the standard reporting parameter of the status report record; Obtain the standard reporting parameters of all status reporting records, and denote the closed interval formed by the maximum and minimum values ​​of all standard reporting parameters as the standard parameter interval corresponding to the status. Obtain the standard parameter range of all states that need to be reported within the smart bed, and record the standard parameter range of all states as the periodic data feature of the state reporting data.

[0011] Furthermore, based on the periodic data characteristics of the terminal-collected data, a link encryption method is sequentially established for each piece of data within the terminal-collected data. Then, based on the link encryption method for each piece of data, a specific encryption method corresponding to each piece of data is obtained, including: The link encryption method for control command data is as follows: For any bed control command, based on the latest historical control records, the command usage ratio and command usage curve of all controllable gears of the bed control command are updated; when the controllable gear of the bed control command is executed, the time when the controllable gear of the command begins to be used is recorded as the command start time, and the point with the command start time as the horizontal axis of the command usage curve of the controllable gear is recorded as the real-time command point, and the vertical axis of the real-time command point is marked as the standard duration of the command; The communication link of the controllable gear is encrypted using the proportion of command usage and the standard duration of the command as the first-level and second-level passwords, respectively. When the time is the standard end time and the controllable gear is still being executed, a special encryption method for command control data is executed, wherein the standard end time is the sum of the command start time and the standard duration of the command.

[0012] Furthermore, based on the periodic data characteristics of the terminal-collected data, a link encryption method is sequentially established for each piece of data within the terminal-collected data. The process of obtaining a specific encryption method for each piece of data based on the link encryption method for each piece of data also includes: The specific encryption method for command control data is as follows: the difference between the vertical coordinates of the highest and lowest points in the command usage curve of the bed control command is recorded as the command usage difference, and the number of gear usage points in the command usage curve is recorded as Q; the value of the command usage difference divided by Q is recorded as the intermittent encryption value. After the standard end time, at intervals of encryption value, the communication link of the instruction controllable gear is encrypted using a random number verification code α, and the random number verification code α is sent to the user's terminal.

[0013] Furthermore, based on the periodic data characteristics of the terminal-collected data, a link encryption method is sequentially established for each piece of data within the terminal-collected data. The process of obtaining a specific encryption method for each piece of data based on the link encryption method for each piece of data also includes: The link encryption method for physiological monitoring data is as follows: For any monitorable item, when the monitorable item starts to be executed, the time when the monitorable item starts to be executed is recorded as the real-time item time, and the value corresponding to the monitoring result of the monitorable item is recorded as the real-time item value. In the regular monitoring curve of the monitorable project, the point on the horizontal axis representing the real-time project time is recorded as the real-time project point; the communication link of the monitorable project is encrypted using the slope of the real-time project point and the vertical axis as the first-level password and the second-level password, respectively. When the real-time project value is not equal to the ordinate of the real-time project point, a special encryption method for physiological monitoring data is executed. The specific encryption method for physiological monitoring data is as follows: use a random number verification code β to encrypt the communication link of the monitorable items, and send the random number verification code β and the real-time item values ​​to the user's terminal; The link encryption method for status reporting data is as follows: For any status that needs to be reported, the time when the status is reported by the smart bed and the time when the user receives it are recorded as the real-time sending time and the real-time receiving time, respectively. The difference between the real-time sending time and the real-time receiving time is recorded as the status reporting difference. The network delay corresponding to the network connected to the smart bed when the time is the real-time sending time is recorded as k0. The value of dividing the difference in status reporting by k0 is recorded as the real-time reporting parameter. When the real-time reporting parameter is within the standard parameter range of the status, the communication link during status reporting is encrypted using 0 and k0 as the first-level and second-level passwords, respectively. When the real-time reported parameters are not within the standard parameter range of the status, a special encryption method for the status reported data is executed. The specific encryption method for status reporting data is as follows: the communication link during status reporting is encrypted using a random number verification code γ, and the random verification code γ and k0 are sent to the user's terminal.

[0014] The beneficial effects of this invention are as follows: This application first embeds an edge computing terminal into the smart bed body and uses the edge computing terminal to collect the communication data of the smart bed, which is denoted as terminal collected data; based on the terminal collected data, the periodic data characteristics of the smart bed are obtained. The advantage of this is that by obtaining the terminal collected data of the smart bed and obtaining the periodic data characteristics, a hierarchical encryption method for transmission can be constructed based on the periodic data characteristics when constructing the encryption method in the future. This enables hierarchical encryption of different data, improves the real-time control and device stability, and avoids the problem of a dual imbalance between security and efficiency in the communication link. This application also establishes a link encryption method corresponding to each piece of data within the terminal-collected data based on the periodic data characteristics of the terminal-collected data, and obtains a specific encryption method corresponding to each piece of data based on the link encryption method of each piece of data. Finally, when the smart bed is in operation, the smart bed communication is encrypted based on the link encryption method and the specific encryption method of each piece of data within the terminal-collected data. The advantage of this is that by obtaining the link encryption method and the specific encryption method corresponding to each piece of data, more suitable encryption methods can be provided for highly sensitive data and low-sensitivity data, avoiding the problems of privacy leakage of highly sensitive data and power consumption waste of low-sensitivity data after communication encryption. Attached Figure Description

[0015] Figure 1 This is a flowchart illustrating the steps of the method of the present invention; Figure 2 This is a schematic diagram of the curves used in the instructions of this invention; Figure 3 This is a schematic diagram of the communication encryption process of the present invention; Figure 4 This is a schematic diagram of the electronic device of the present invention. Detailed Implementation

[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0017] Example 1, please refer to Figure 1 As shown, this application provides a smart bed communication encryption method based on an edge computing terminal, including the following steps: Step S1: Embed the edge computing terminal into the smart bed body and use the edge computing terminal to collect the communication data of the smart bed, which is recorded as terminal collected data; obtain the periodic data characteristics of the smart bed based on the terminal collected data; Step S1 includes: Step S101, embedding the edge computing terminal into the smart bed body, and using the edge computing terminal to collect communication data between the smart bed and the user, denoted as terminal collected data, wherein the terminal collected data includes control command data, physiological monitoring data and status reporting data; Step S102: Analyze the terminal-collected data using the terminal data analysis method, and obtain the periodic data characteristics of control command data, physiological monitoring data, and status reporting data based on the analysis results. In the specific implementation process, the types of data collected by the edge acquisition terminal can be added, deleted or modified according to the actual data analysis needs. For example, if there is no need to encrypt the status reporting data, only the control command data and physiological monitoring data can be analyzed and their periodic data characteristics can be obtained.

[0018] Step S103, the terminal data analysis method includes: Step S1031, for control command data: based on the user's historical control records of the smart bed, obtain all the user's control commands for the smart bed, and record all the control commands as bed control command CK1 to bed control command CK1 respectively. t The sum of the number of times the user uses all bed control commands in the historical control records is recorded as T. Step S1032: For any bed control command, obtain the control settings in the smart bed's control panel that allow the execution of the bed control command, and record them as the controllable settings.

[0019] The terminal data analysis method also includes: step S1033, obtaining all records of the user's use of bed control commands in the historical control records, and recording the number of times each command-controllable gear is used in all records as the number of times the command-controllable gear has been used; dividing the number of times the gear has been used by T as the command usage ratio of the command-controllable gear; In the data analysis of this embodiment, for example, if the sum of all bed control commands used by the user is 100 times during a data processing session, then the value of T is 110. For the bed control command "adjust angle" being analyzed, the control panel of the smart bed allows the following settings for "adjust angle": "raise 10°", "raise 20°", "raise 30°", "raise 40°", and "raise 50°". Among these, "raise 50°" has been used 10 times in all records, meaning the "raise 50°" setting has been used 10 times. Calculations show that the usage ratio of the controllable setting "raise 50°" is 0.1. Step S1034: Establish a Cartesian coordinate system and denote it as the periodic analysis coordinate system. The units of the X-axis and Y-axis of the periodic analysis coordinate system are h and min, respectively. For any command-controlled gear: For any usage record of the command-controlled gear in the historical control record, record the time when the command-controlled gear was first used in the usage record as X1, record the duration of the command-controlled gear being used in the usage record as Y1, and record the point (X1, Y1) in the periodic analysis coordinate system as the gear usage point corresponding to the usage record.

[0020] The terminal data analysis method also includes: step S1035, obtaining the gear usage points corresponding to all usage records of the command controllable gear based on historical control records, and recording the curve obtained by fitting all gear usage points in the periodic analysis coordinate system as the command usage curve of the command controllable gear; In specific implementation, for example, during a data analysis, the command usage curve corresponding to the controllable gear "lift 50°" is as follows: Figure 2 As shown by curve ST, analysis of curve ST shows that the user's usage time for the controllable gear "raise 50°" is between 10 and 30 minutes from 8:10 to 8:30 in the morning, and between 40 and 10 minutes from 21:00 to 21:30 in the evening. In the data analysis of this embodiment, by obtaining the proportion of command data, the user's preference for controllable command gears can be quantified. The larger the proportion of command data, the greater the user's preference for controllable command gears. By obtaining the command usage curve of controllable command gears, the user's usage preference for command gears within a day can be summarized. This allows for dynamic encryption of the communication link through dynamic periodic data characteristics during subsequent communication encryption. Based on the start time and duration of the execution of controllable command gears, it can be determined whether to further encrypt the communication link. This achieves the purpose of providing users with abnormal command reminders and special privacy protection, thereby ensuring hierarchical encryption of different data, improving control real-time performance and device stability, and avoiding the problem of a dual imbalance between security and efficiency in the communication link. Step S1036: Sequentially obtain the instruction usage ratio and instruction usage curve corresponding to all controllable gears of each bed control command, and record the instruction usage ratio and instruction usage curve corresponding to all controllable gears of all bed control commands as the periodic data feature of control command data.

[0021] The terminal data analysis method also includes: step S1037, for physiological monitoring data: acquiring all physiological data corresponding to the user monitored by the smart bed, and recording them as monitorable items KJ1 to monitorable items KJ respectively. rFor any monitorable item: Establish a Cartesian coordinate system, denoted as the physiological monitoring coordinate system, where the unit of the X-axis of the physiological monitoring coordinate system is h, and the unit of the Y-axis is the data unit corresponding to the monitorable item. Step S1038: For any monitoring record of the monitorable items executed in the smart bed: record the start time of the monitoring record as X2, record the value obtained by the monitorable items in the monitoring record as Y2, and record the point with coordinates (X2, Y2) in the physiological monitoring coordinate system as the valid monitoring point of the monitoring record. The terminal data analysis method also includes: step S1039, obtaining all valid monitoring points of all monitoring records, and recording the curve obtained by fitting all valid monitoring points as the regular monitoring curve of the monitorable items; In the specific implementation process, by obtaining the regular monitoring curves of the monitorable items, the monitoring results of the monitorable items of the user within a day can be statistically analyzed. That is, the monitoring results at a specific time point should be within what range, thereby ensuring that the regular monitoring curves can reflect the monitoring results that the user should obtain for the monitorable items within a day. This is so that when encrypting subsequent communication, the physiological monitoring data can be encrypted using the regular monitoring curves, while providing abnormal monitoring reminders to the user based on the monitoring results of the monitorable items, and sending real-time item values ​​to the user's terminal, so that the user can deal with monitoring anomalies in a timely manner. The routine monitoring curves of all monitorable items are recorded as periodic data characteristics of physiological monitoring data.

[0022] The terminal data analysis method also includes: step S1040, for status reporting data: for any status that needs to be reported in the smart bed, obtain all reporting records corresponding to the status, and record them as status reporting record ZS1 to status reporting record ZS. e ; Step S1041: For any status reporting record, record the time when the status reporting record is sent by the smart bed as t1, record the time when the user receives the status reporting record as t2, and record the difference between t2 and t1 as the reporting delay of the status reporting record; obtain the network delay corresponding to the network connected to the smart bed at time t1, and record it as k; record the value of the reporting delay divided by k as the standard reporting parameter of the status reporting record. Step S1042: Obtain the standard reporting parameters of all status reporting records, and record the closed interval formed by the maximum and minimum values ​​of all standard reporting parameters as the standard parameter interval corresponding to the status. In specific implementation, for example, during a data analysis, one of the analyzed states is "Sending Connection Status". By acquiring all the reported records of "Sending Connection Status", in one of the status reports, the time sent by the smart bed is 20:15:32.168, and the time the user receives the status report is 20:15:32.203. Calculations show that the difference between t2 and t1 is 35ms, and the network latency corresponding to the network connected to the smart bed at time 20:15:32.168 is 15ms. Calculations show that the standard reporting parameter is approximately 2.33. By acquiring all the standard reporting parameters of "Sending Connection Status", the standard parameter range is [1.5, 3.1]. By acquiring the standard parameter range corresponding to the state, it is possible to combine the state occurrence time... The data transmission delay and network delay are used to quantify the reported status. This allows for the determination of whether the status has been effectively transmitted based on the real-time standard reporting parameters during the encryption of the reported status data. If the real-time standard reporting parameters are too high or too low, it indicates an abnormal reporting status. For example, if the standard reporting parameter for "sending connection status" is 4, since 4 is outside the range [1.5, 3.1], it indicates that the ratio of the reporting delay to the network delay when "sending connection status" occurs is too high, potentially leading to data interception and leakage during the reporting process. Analysis of the subsequent link encryption method and specific encryption method for the reported status data reveals that the network delay corresponding to 4 should be reported to assist users in confirming whether there are any abnormalities in the communication link and to conduct timely troubleshooting. Step S1043: Obtain the standard parameter range of all states that need to be reported in the smart bed, and record the standard parameter range of all states as the periodic data feature of the state reporting data.

[0023] For step S2, please refer to [link / reference]. Figure 3 As shown, based on the periodic data characteristics of the terminal-collected data, a link encryption method corresponding to each data in the terminal-collected data is established sequentially, and a special encryption method corresponding to each data is obtained based on the link encryption method of each data. Step S2 includes: Step S201, the link encryption method for control command data is as follows: Step S2011, for any bed control command, based on the latest historical control record, update the command usage ratio and command usage curve of all controllable gears of the bed control command; when the controllable gear of the bed control command is executed, record the time when the controllable gear of the command starts to be used as the command start time, and record the point with the command start time as the horizontal axis of the command usage curve of the controllable gear as the real-time command point, and mark the vertical axis of the real-time command point as the standard duration of the command; Step S2012: The communication link of the controllable gear is encrypted using the instruction usage ratio and the instruction standard duration as the first-level and second-level passwords, respectively. When the time is the standard end time and the controllable gear is still being executed, a special encryption method for instruction control data is executed, wherein the standard end time is the sum of the instruction start time and the instruction standard duration.

[0024] Step S202, the special encryption method for command control data is as follows: Step S2021, the difference between the vertical coordinates of the highest and lowest points in the command usage curve of the bed control command is recorded as the command usage difference, and the number of gear usage points in the command usage curve is recorded as Q; the value of the command usage difference divided by Q is recorded as the intermittent encryption value; In the data analysis of this embodiment, for example, during a data processing session, when the bed control command "adjust angle" is executed and the controllable setting is "raise 50°", the corresponding command start time is 8:10. Figure 2 It can be seen that when the horizontal axis is 8:10, the standard duration of the corresponding real-time command point is 10 minutes, meaning that when a user typically uses "raise 50°" at 8:10, the duration is 10 minutes. Calculations show that the standard end time at this point is 8:20. Therefore, if "raise 50°" is still executed at 8:20, it indicates that the controllable gear execution time exceeds the user's normal usage time at 8:10. Through further analysis... Figure 2 Analysis shows that the difference in the ordinates of the highest and lowest points on the curve used by the command is 60 minutes, meaning the command usage difference is 60 minutes. This was obtained through data acquisition. Figure 2 If the number of gear usage points in the instruction usage curve is 30, then the intermittent encryption value is 2 minutes. Therefore, in the special encryption method for instruction control data, in order to prevent the instruction controllable gear from being executed abnormally and to protect the communication link of the instruction controllable gear, the communication link of the instruction controllable gear should be encrypted every 2 minutes using a random number verification code α, and the random number verification code α should be sent to the user's terminal to ensure that the user can verify successfully. Step S2022: After the standard end time, at intervals of encryption value, use random number verification code α to encrypt the communication link of the instruction controllable gear, and send random number verification code α to the user's terminal. In the data analysis of this embodiment, the random number verification codes α, β, and γ are all random numbers generated in real time by a random number generator when they are used, to ensure the timeliness of communication encryption.

[0025] Step S203, the link encryption method for physiological monitoring data is as follows: Step S2031, for any monitorable item, when the monitorable item starts to be executed, the time when the monitorable item starts to be executed is recorded as the real-time item time, and the value corresponding to the monitoring result of the monitorable item is recorded as the real-time item value. Step S2032: In the regular monitoring curve of the monitorable project, the point where the horizontal axis represents the real-time project time is recorded as the real-time project point; the communication link of the monitorable project is encrypted using the slope of the real-time project point and the vertical axis as the first-level password and the second-level password, respectively. Step S2033: When the real-time item value is not equal to the ordinate of the real-time item point, execute the special encryption method for physiological monitoring data; Step S204, the specific encryption method for physiological monitoring data is as follows: use a random number verification code β to encrypt the communication link of the monitorable items, and send the random number verification code β and the real-time item values ​​to the user's terminal; Step S205, the link encryption method for status reporting data is as follows: Step S2051, for any status that needs to be reported, the time when the status is reported by the smart bed and the time when the user receives it are recorded as the real-time sending time and the real-time receiving time, respectively. The difference between the real-time sending time and the real-time receiving time is recorded as the status reporting difference. The network delay corresponding to the network connected to the smart bed when the time is the real-time sending time is recorded as k0. Step S2052: Divide the difference in status reporting by k0 and record it as the real-time reporting parameter; when the real-time reporting parameter is within the standard parameter range of the status, encrypt the communication link during status reporting with 0 and k0 as the first-level password and the second-level password, respectively. Step S2053: When the real-time reported parameters are not within the standard parameter range of the status, execute the special encryption method for the status reported data; Step S206, the specific encryption method for status reporting data is as follows: use a random number verification code γ to encrypt the communication link during status reporting, and send the random verification code γ and k0 to the user's terminal.

[0026] Step S3: When the smart bed is in operation, the smart bed communication is encrypted based on the link encryption method and the special encryption method for each data in the terminal data collection. In the data analysis of this embodiment, by constructing a link encryption method and a special encryption method corresponding to each data based on the periodic data characteristics of control command data, physiological monitoring data, and status reporting data, a more suitable encryption method can be provided for highly sensitive data and low-sensitivity data in control command data, physiological monitoring data, and status reporting data, avoiding the problems of privacy leakage of highly sensitive data and power consumption waste of low-sensitivity data after communication encryption.

[0027] Example 2, please refer to Figure 4 As shown, Figure 4 A schematic diagram of an electronic device is provided, which may include a processor, a communication interface, a memory, and a communication bus. The processor, communication interface, and memory communicate with each other via the communication bus. The memory stores computer-readable instructions, and the processor can call these instructions. When the processor executes a computer-readable instruction, it performs steps such as those in the intelligent bed communication encryption method based on an edge computing terminal to achieve the following functions: First, an edge computing terminal is embedded within the intelligent bed body, and the edge computing terminal collects communication data from the intelligent bed, denoted as terminal-collected data. Then, based on the terminal-collected data, periodic data characteristics of the intelligent bed are obtained. Next, based on the periodic data characteristics of the terminal-collected data, a link encryption method is sequentially established for each piece of data within the terminal-collected data, and a specific encryption method is obtained for each piece of data based on the link encryption method. Finally, when the intelligent bed is in operation, the communication of the intelligent bed is encrypted based on the link encryption method and the specific encryption method for each piece of data within the terminal-collected data.

[0028] Furthermore, when the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0029] Example 3: This application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the smart bed communication encryption method based on the edge computing terminal provided by the above methods. The method includes: first, embedding the edge computing terminal into the smart bed body and using the edge computing terminal to collect the communication data of the smart bed, denoted as terminal collected data; obtaining the periodic data characteristics of the smart bed based on the terminal collected data; then, based on the periodic data characteristics of the terminal collected data, sequentially establishing a link encryption method corresponding to each data in the terminal collected data, and obtaining a special encryption method corresponding to each data based on the link encryption method of each data; finally, when the smart bed is in operation, encrypting the smart bed communication based on the link encryption method and the special encryption method of each data in the terminal collected data.

[0030] Example 4: This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it performs the steps of the above-described intelligent bed communication encryption method based on an edge computing terminal to achieve the following functions: First, an edge computing terminal is embedded in the intelligent bed body, and the edge computing terminal is used to collect the communication data of the intelligent bed, denoted as terminal-collected data; based on the terminal-collected data, the periodic data characteristics of the intelligent bed are obtained; then, based on the periodic data characteristics of the terminal-collected data, a link encryption method corresponding to each data in the terminal-collected data is established sequentially, and a special encryption method corresponding to each data is obtained based on the link encryption method of each data; finally, when the intelligent bed is in operation, the intelligent bed communication is encrypted based on the link encryption method and the special encryption method of each data in the terminal-collected data.

[0031] Based on the above description of the embodiments, the embodiments of the present invention can be provided as methods, systems, or computer program products. Based on this understanding, the above technical solutions, in essence or in terms of their contribution to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or certain parts of the embodiments.

[0032] In the embodiments provided in this application, it should be understood that the disclosed system or method can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of modules or units is only a logical functional division, and there may be other division methods in actual implementation. Furthermore, multiple modules or units may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces. The indirect coupling or communication connection between systems, modules, and units may be electrical, mechanical, or other forms.

[0033] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A smart bed communication encryption method based on an edge computing terminal, characterized in that, Includes the following steps: An edge computing terminal is embedded in the smart bed body, and the edge computing terminal is used to collect the communication data of the smart bed, which is referred to as terminal collected data. The periodic data characteristics of the smart bed are obtained based on data collected from the terminal. Based on the periodic data characteristics of the terminal-collected data, a link encryption method corresponding to each data in the terminal-collected data is established sequentially, and a special encryption method corresponding to each data is obtained based on the link encryption method of each data. When the smart bed is in operation, the communication of the smart bed is encrypted based on the link encryption method and the special encryption method of each data in the data collected by the terminal.

2. The intelligent bed communication encryption method based on an edge computing terminal according to claim 1, characterized in that, An edge computing terminal is embedded in the smart bed body, and the edge computing terminal is used to collect the communication data of the smart bed, which is referred to as terminal collected data. The periodic data characteristics of smart beds obtained based on terminal-collected data include: The edge computing terminal is embedded in the smart bed body and the edge computing terminal is used to collect the communication data between the smart bed and the user, which is referred to as terminal collected data. The terminal collected data includes control command data, physiological monitoring data and status reporting data. The terminal data analysis method is used to analyze the data collected by the terminal, and the periodic data characteristics of control command data, physiological monitoring data and status reporting data are obtained based on the analysis results.

3. The intelligent bed communication encryption method based on an edge computing terminal according to claim 2, characterized in that, Terminal data analysis methods include: For control command data: Based on the user's historical control records of the smart bed, all control commands of the user to the smart bed are obtained, and all control commands are recorded as bed control command CK1 to bed control command CK. t The sum of the number of times the user uses all bed control commands in the historical control records is recorded as T. For any bed control command, obtain the control level in the smart bed's control panel that allows the execution of the bed control command, and record it as the controllable level of the command; Retrieve all records of user bed control commands from the historical control records, and record the number of times each command-controllable gear is used in all records as the number of times the command-controllable gear has been used; divide the number of times the gear has been used by T as the command usage ratio of the command-controllable gear; Establish a Cartesian coordinate system and denote it as the periodic analysis coordinate system. The units of the X-axis and Y-axis of the periodic analysis coordinate system are h and min, respectively. For any command-controlled gear: For any usage record of the command-controlled gear in the historical control record, record the time when the command-controlled gear was first used in the usage record as X1, record the duration of the command-controlled gear being used in the usage record as Y1, and record the point (X1, Y1) in the periodic analysis coordinate system as the gear usage point corresponding to the usage record.

4. The intelligent bed communication encryption method based on an edge computing terminal according to claim 3, characterized in that, Terminal data analysis methods also include: Based on historical control records, obtain the gear usage points corresponding to all usage records of the command-controllable gears, and record the curve obtained by fitting all gear usage points in the periodic analysis coordinate system as the command usage curve of the command-controllable gear. Sequentially acquire the instruction usage ratio and instruction usage curve corresponding to all controllable gears of each bed control command, and record the instruction usage ratio and instruction usage curve corresponding to all controllable gears of all bed control commands as the periodic data characteristics of control command data.

5. The intelligent bed communication encryption method based on an edge computing terminal according to claim 4, characterized in that, Terminal data analysis methods also include: For physiological monitoring data: Obtain all physiological data items monitored by the smart bed for the user, and record them as monitorable items KJ1 to monitorable items KJ. r For any monitorable item: Establish a Cartesian coordinate system, denoted as the physiological monitoring coordinate system, where the unit of the X-axis of the physiological monitoring coordinate system is h, and the unit of the Y-axis is the data unit corresponding to the monitorable item. For any monitoring record of a monitorable item executed in the smart bed: the start time of the monitoring record is recorded as X2, the value of the monitorable item in the monitoring record is recorded as Y2, and the point with coordinates (X2, Y2) in the physiological monitoring coordinate system is recorded as the valid monitoring point of the monitoring record.

6. The intelligent bed communication encryption method based on an edge computing terminal according to claim 5, characterized in that, Terminal data analysis methods also include: Obtain all valid monitoring points from all monitoring records, and record the curve obtained by fitting all valid monitoring points as the regular monitoring curve of the monitorable item; The routine monitoring curves of all monitorable items are recorded as periodic data characteristics of physiological monitoring data.

7. The intelligent bed communication encryption method based on an edge computing terminal according to claim 6, characterized in that, Terminal data analysis methods also include: For status reporting data: For any status within the smart bed that needs to be reported, obtain all reporting records corresponding to that status and record them as status reporting record ZS1 to status reporting record ZS. e ; For any status report record, the time when the status report record is sent by the smart bed is recorded as t1, the time when the user receives the status report record is recorded as t2, and the difference between t2 and t1 is recorded as the reporting delay of the status report record; obtain the network delay corresponding to the network connected to the smart bed at time t1, and record it as k; divide the reporting delay by k and record it as the standard reporting parameter of the status report record; Obtain the standard reporting parameters of all status reporting records, and denote the closed interval formed by the maximum and minimum values ​​of all standard reporting parameters as the standard parameter interval corresponding to the status. Obtain the standard parameter range of all states that need to be reported within the smart bed, and record the standard parameter range of all states as the periodic data feature of the state reporting data.

8. The intelligent bed communication encryption method based on an edge computing terminal according to claim 7, characterized in that, Based on the periodic data characteristics of the terminal-collected data, a link encryption method is sequentially established for each data point within the terminal-collected data. Then, based on the link encryption method for each data point, a specific encryption method for each data point is obtained, including: The link encryption method for control command data is as follows: For any bed control command, based on the latest historical control records, the command usage ratio and command usage curve of all controllable gears of the bed control command are updated; when the controllable gear of the bed control command is executed, the time when the controllable gear of the command begins to be used is recorded as the command start time, and the point with the command start time as the horizontal axis of the command usage curve of the controllable gear is recorded as the real-time command point, and the vertical axis of the real-time command point is marked as the standard duration of the command; The communication link of the controllable gear is encrypted using the proportion of command usage and the standard duration of the command as the first-level and second-level passwords, respectively. When the time is the standard end time and the controllable gear is still being executed, a special encryption method for command control data is executed, wherein the standard end time is the sum of the command start time and the standard duration of the command.

9. The intelligent bed communication encryption method based on an edge computing terminal according to claim 8, characterized in that, Based on the periodic data characteristics of the terminal-collected data, a link encryption method is sequentially established for each data point within the terminal-collected data. Furthermore, based on the link encryption method for each data point, a specific encryption method for each data point is obtained. The specific encryption method for command control data is as follows: the difference between the vertical coordinates of the highest and lowest points in the command usage curve of the bed control command is recorded as the command usage difference, and the number of gear usage points in the command usage curve is recorded as Q; the value of the command usage difference divided by Q is recorded as the intermittent encryption value. After the standard end time, at intervals of encryption value, the communication link of the instruction controllable gear is encrypted using a random number verification code α, and the random number verification code α is sent to the user's terminal.

10. The intelligent bed communication encryption method based on an edge computing terminal according to claim 9, characterized in that, Based on the periodic data characteristics of the terminal-collected data, a link encryption method is sequentially established for each data point within the terminal-collected data. Furthermore, based on the link encryption method for each data point, a specific encryption method for each data point is obtained. The link encryption method for physiological monitoring data is as follows: For any monitorable item, when the monitorable item starts to be executed, the time when the monitorable item starts to be executed is recorded as the real-time item time, and the value corresponding to the monitoring result of the monitorable item is recorded as the real-time item value. In the regular monitoring curve of the monitorable project, the point on the horizontal axis representing the real-time project time is recorded as the real-time project point; the communication link of the monitorable project is encrypted using the slope of the real-time project point and the vertical axis as the first-level password and the second-level password, respectively. When the real-time project value is not equal to the ordinate of the real-time project point, a special encryption method for physiological monitoring data is executed. The specific encryption method for physiological monitoring data is as follows: use a random number verification code β to encrypt the communication link of the monitorable items, and send the random number verification code β and the real-time item values ​​to the user's terminal; The link encryption method for status reporting data is as follows: For any status that needs to be reported, the time when the status is reported by the smart bed and the time when the user receives it are recorded as the real-time sending time and the real-time receiving time, respectively. The difference between the real-time sending time and the real-time receiving time is recorded as the status reporting difference. The network delay corresponding to the network connected to the smart bed when the time is the real-time sending time is recorded as k0. The value of dividing the difference in status reporting by k0 is recorded as the real-time reporting parameter. When the real-time reporting parameter is within the standard parameter range of the status, the communication link during status reporting is encrypted using 0 and k0 as the first-level and second-level passwords, respectively. When the real-time reported parameters are not within the standard parameter range of the status, a special encryption method for the status reported data is executed. The specific encryption method for status reporting data is as follows: the communication link during status reporting is encrypted using a random number verification code γ, and the random verification code γ and k0 are sent to the user's terminal.

Citation Information

Patent Citations

  • Anti-leakage method for vital sign data, intelligent bed and storage medium

    CN115396877A