Smart wearable device security management system for scoliosis health data collection
By using multiple encryption methods to process scoliosis health data from smart wearable devices, the problem of single encryption methods being easily cracked is solved, achieving higher data security.
Patent Information
- Application Number
- CN202610727604.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-25
- Publication Date
- 2026-08-25
AI Technical Summary
In existing smart wearable device security management technologies, single encryption methods are easily cracked by attackers, resulting in insufficient security of encrypted data and failing to meet the high requirements for data security protection.
A multi-encryption method combining various encryption techniques, including data matrix transformation, key function generation, block encryption, data mapping, and perturbation encryption, is used to perform multiple encryption processes on scoliosis health data through an edge computing terminal.
It improves the security of data encryption in smart wearable devices, meets the high requirements for data security protection, and is suitable for large-scale applications.
Smart Images

Figure CN122638017A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of safety management technology for smart wearable devices, specifically relating to a safety management system for smart wearable devices that collects scoliosis health data. Background Technology
[0002] In many fields, especially in the field of smart wearable devices, devices collect a large amount of users' sensitive personal data, such as health monitoring data (scoliosis posture data, etc.), exercise data, location information, etc. Once this data is leaked, tampered with, or illegally accessed, it will bring serious privacy risks and potential harm to users. Therefore, in order to ensure the security, integrity and confidentiality of this sensitive data, it is necessary to propose data security encryption methods, which can effectively protect the data and prevent unauthorized access and malicious attacks.
[0003] Currently, existing security management technologies for smart wearable devices typically employ a single encryption algorithm to process data, such as traditional symmetric and asymmetric encryption methods. However, single encryption methods are easily exploited by attackers, leading to a significant reduction in the security of encrypted data and failing to meet the high data security requirements of smart wearable devices. Therefore, based on the aforementioned shortcomings, providing a highly secure security management system for smart wearable devices that collect scoliosis health data has become an urgent problem to be solved. Summary of the Invention
[0004] The purpose of this invention is to provide a smart wearable device security management system for collecting scoliosis health data, in order to solve the problem of low encryption security in existing technologies that use a single encryption method.
[0005] To achieve the above objectives, the present invention adopts the following technical solution: Firstly, a smart wearable device safety management system for collecting scoliosis health data is provided, including: A smart wearable device is used to collect scoliosis health data of a target user in real time and transmit the scoliosis health data to an edge computing terminal. An edge computing terminal is used to convert the scoliosis health data into a data matrix; An edge computing terminal is used to construct a key function and calculate the control parameters of the key function based on the data matrix, so as to generate several key sequences based on the control parameters and the key function; An edge computing terminal is used to divide a data matrix into blocks to obtain several matrix blocks, and to encrypt each matrix block based on several key sequences and a block encryption algorithm to obtain several encrypted matrix blocks. An edge computing terminal is used to perform data mapping and encryption processing on several encryption matrix blocks to obtain mapped encrypted data. The edge computing terminal is also used to perform perturbation encryption processing on the mapped encrypted data to obtain encrypted scoliosis health data, and send the encrypted scoliosis health data to the health management server so as to complete the security management of the smart wearable device after sending.
[0006] Based on the above-disclosed content, after acquiring scoliosis health data, this invention first converts it into a data matrix; then, it constructs a key function and calculates the control parameters of the key function based on the aforementioned data matrix; subsequently, it generates a key sequence for data encryption based on the control parameters and the key function; next, based on this key sequence, this invention proposes an encryption algorithm combining multiple encryption methods. Specifically, the data matrix is first divided into blocks, and then the key sequence and block encryption algorithm are used to encrypt the resulting matrix blocks using the first method to obtain encrypted matrix blocks; then, the second method, namely data mapping encryption, is used to encrypt the encrypted matrix blocks a second time to obtain mapped encrypted data; finally, perturbation encryption is used to encrypt the mapped encrypted data a third time to obtain encrypted scoliosis health data; finally, it is sent to a health management server to complete the secure management of the smart wearable device.
[0007] Through the above design, this invention employs a combination of multiple encryption methods to encrypt and transmit data collected by smart wearable devices. This improves encryption security compared to traditional technologies and effectively meets the high requirements of smart wearable devices for data security encryption. Therefore, this invention is highly suitable for large-scale application and promotion.
[0008] In one possible design, the edge computing terminal includes: a key construction unit; A key construction unit is used to perform hash operations on the data matrix to obtain a hash sequence, and divide the hash sequence into several hash subsequences in order from left to right, wherein any hash subsequence contains four hash blocks; A key construction unit is used to perform an XOR operation on the four hash blocks in each hash subsequence to obtain four key control factors, and calculate the ratio of the four key control factors to the target value to obtain four initial key parameters respectively, wherein the target value is determined based on the data matrix; The key construction unit is used to perform modulo operations on the first and second initial key parameters among the four initial key parameters with a first specified value to obtain two initial key values; The key construction unit is used to perform a modulo operation on the third initial key parameter among the four initial key parameters and the second specified value, and to sum the result of the modulo operation with the first key coefficient to obtain the first key parameter; and to perform a modulo operation on the last initial key parameter among the four initial key parameters and the third specified value, and to sum the result of the modulo operation with the second key coefficient to obtain the second key parameter. The key construction unit is also used to compose the control parameters using two key parameters and two initial key values.
[0009] In one possible design, several key sequences include three key sequences, and the edge computing terminal includes: a block encryption unit; The block encryption unit is used to perform key mapping processing on the three key sequences to obtain three key mapping sequences. The block encryption unit is used to construct a block encryption function and use the block encryption function to perform multiple encryption processes on each matrix block to obtain several initial encryption matrix blocks. The number of encryption times for any matrix block is (M+N) / 2, where M is the number of rows of the data matrix and N is the number of columns of the data matrix. The block encryption unit is also used to perform linear encryption on each initial encryption matrix block using three key mapping sequences, so as to obtain several encryption matrix blocks after linear encryption.
[0010] In one possible design, for any key sequence, the block encryption unit is used to generate an initial mapping sequence based on the given key sequence, and to generate mapping parameters according to the number of rows and columns of the data matrix; The block encryption unit is used to perform a modulo operation on each element in the initial mapping sequence and the second mapping parameter to obtain several initial mapping values, and to add 1 to the several initial mapping values to obtain several key mapping values, so as to use the several key mapping values to form a key mapping sequence corresponding to any key sequence. Correspondingly, for any element in any matrix block, the block encryption unit is used to obtain the row and column index of the any element in the any matrix block; The block encryption unit is used to transform the row and column indices based on the block encryption function to obtain the transformed row and column indices corresponding to any element, and to obtain the transformed row and column indices of each element after polling all elements in any matrix block. The block encryption unit is also used to perform position swapping on each element in any matrix block based on the transformed row and column indices of each element, so as to obtain a first-encrypted matrix block corresponding to any matrix block after the position swapping.
[0011] In one possible design, the block encryption unit is used to transform the row and column indices using the following formula to obtain the transformed row and column indices of any element. ; In the formula, This represents the row index and column index of any of the elements. The transform row index and transform column index represent the transform row and column indices of any given element.
[0012] In one possible design, the initial encryption matrix blocks include four initial encryption matrix blocks; The block encryption unit is used to convert the three key mapping sequences into two-dimensional matrices to obtain three key mapping matrices, and then sum the three key mapping matrices to obtain a new key mapping matrix. The block encryption unit is used to allocate the three key mapping matrices and the new key mapping matrix to four initial encryption matrix blocks, wherein each initial encryption matrix block corresponds to a mapping matrix. The block encryption unit is also used to sum each initial encryption matrix block with its corresponding mapping matrix to obtain four summation matrices, and to perform a modulo operation on the four summation matrices with a preset mapping factor to obtain four encryption matrix blocks after the modulo operation.
[0013] In one possible design, the edge computing terminal includes: a data mapping unit; The data mapping unit is used to calculate data mapping coefficients based on the number of rows and columns of the data matrix. In the formula, It is a constant. It is a function with the greatest common divisor, and These represent the number of rows and columns of the data matrix, respectively. A data mapping unit is used to construct a mapping function and, based on the mapping function, the data mapping coefficients, and the number of rows and columns of the data matrix, perform data mapping processing on each encrypted matrix block to obtain several mapping matrix blocks; The data mapping unit is further configured to generate a mapping matrix based on several mapping matrix blocks, and convert the mapping matrix into a one-dimensional data sequence so that the one-dimensional data sequence can be used as the mapped encrypted data.
[0014] In one possible design, the data mapping unit is used to calculate the mapping position of each encrypted element in any encrypted matrix block based on the mapping function, the data mapping coefficient, and the number of rows and columns of the data matrix, and to perform position mapping on each encrypted element in the any encrypted matrix block according to the mapping position of each encrypted element, so as to obtain the mapping matrix block corresponding to the any encrypted matrix block after position mapping. The following formula is used to determine the mapping position of any encrypted element; ; In the formula, These represent the original row position and the original column position of any of the encrypted elements, respectively. This indicates the mapping row position and mapping column position of any of the encrypted elements. Represents positive integers. Modulo operation is represented. For the mapping function, ,and These are variables for the mapping function.
[0015] In one possible design, the edge computing terminal also includes: a data perturbation unit; The data perturbation unit is used to generate a first perturbation key sequence and a second perturbation key sequence according to the key function. The data disturbance unit is used to calculate the disturbance control factor based on the data matrix. The data perturbation unit is further configured to perform perturbation encryption processing on the mapped encrypted data based on the first perturbation key sequence, the second perturbation key sequence, and the perturbation control factor, so as to obtain encrypted scoliosis health data.
[0016] In one possible design, for any mapping element in the mapped encrypted data, the data perturbation unit is used to perform perturbation encryption processing on any mapping element using the following formula; ; In the formula, Represents any of the mapping elements, This represents the sort order number of any mapping element in the mapped encrypted data. This represents any of the mapping elements after perturbation and encryption. This represents the (b-1)th element in the encrypted scoliosis health data. These represent the first perturbation key sequence, respectively. The first perturbation key and the second perturbation key sequence in the second perturbation key sequence A perturbation key This represents the disturbance control factor. This represents the XOR operation. This indicates a modulo operation.
[0017] Secondly, a method for safe management of smart wearable devices for collecting scoliosis health data is provided, including: The smart wearable device collects the target user's scoliosis health data in real time and transmits the scoliosis health data to the edge computing terminal. The edge computing terminal converts the scoliosis health data into a data matrix; The edge computing terminal constructs a key function and calculates the control parameters of the key function based on the data matrix, so as to generate several key sequences based on the control parameters and the key function; The edge computing terminal divides the data matrix into blocks to obtain several matrix blocks, and encrypts each matrix block based on several key sequences and block encryption algorithms to obtain several encrypted matrix blocks. The edge computing terminal performs data mapping and encryption processing on several encryption matrix blocks to obtain mapped encrypted data; The edge computing terminal performs perturbation encryption on the mapped encrypted data to obtain encrypted scoliosis health data, and sends the encrypted scoliosis health data to the health management server to complete the security management of the smart wearable device after sending.
[0018] Thirdly, another intelligent wearable device security management system for scoliosis health data acquisition is provided. Taking the system as an electronic device as an example, it includes a memory, a processor, and a transceiver that are connected in sequence. The memory is used to store computer programs, the transceiver is used to send and receive messages, and the processor is used to read the computer programs and execute the intelligent wearable device security management method for scoliosis health data acquisition as described in the second aspect.
[0019] Fourthly, a storage medium is provided, on which instructions are stored, which, when executed on a computer, perform the smart wearable device security management method for scoliosis health data collection as described in the second aspect.
[0020] Fifthly, a computer program product containing instructions is provided, which, when executed on a computer, causes the computer to perform the smart wearable device security management method for scoliosis health data acquisition as described in the second aspect.
[0021] Beneficial effects: (1) The present invention uses a combination of multiple encryption methods to encrypt and transmit the data collected by smart wearable devices. In this way, compared with traditional technology, the encryption security is improved and the high requirements of smart wearable devices for data security encryption are well met. Therefore, the present invention is very suitable for large-scale application and promotion. Attached Figure Description
[0022] Figure 1 A schematic diagram of the structure of the intelligent wearable device safety management system for scoliosis health data collection provided in an embodiment of the present invention; Figure 2 A flowchart illustrating the steps of a smart wearable device safety management method for scoliosis health data acquisition provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in conjunction with the accompanying drawings and descriptions of the embodiments or the prior art. Obviously, the following description of the structure of the accompanying drawings is only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. It should be noted that the description of these embodiments is for the purpose of helping to understand the present invention, but does not constitute a limitation of the present invention.
[0024] It should be understood that although the terms first, second, etc., may be used herein to describe various units, these units should not be limited by these terms. These terms are only used to distinguish one unit from another. For example, a first unit may be referred to as a second unit, and similarly, a second unit may be referred to as a first unit, without departing from the scope of the exemplary embodiments of the invention.
[0025] It should be understood that the term "and / or" that may appear in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, B exists alone, and A and B exist simultaneously. The term " / and" that may appear in this document describes another relationship between related objects, indicating that two relationships can exist. For example, A / and B can mean: A exists alone, and A and B exist alone. In addition, the character " / " that may appear in this document generally indicates that the related objects before and after it are in an "or" relationship.
[0026] Example: See Figure 1As shown, the intelligent wearable device security management system for scoliosis health data acquisition provided in this embodiment may include, but is not limited to, an intelligent wearable device, an edge computing terminal, and a health management server. For example, the intelligent wearable device may include, but is not limited to, an intelligent orthotic garment and various sensors integrated into the intelligent orthotic garment for scoliosis data acquisition, such as inertial sensors (used to measure posture angles, i.e., pitch, roll, and yaw angles; the Cobb angle can be calculated from the aforementioned three angles to monitor the degree of scoliosis), accelerometers, gyroscopes, sEMG sensors (used to collect electromyographic signals from the erector spinae, quadratus lumborum, latissimus dorsi, and other muscles on both sides of the spine), and flexible... Sexual pressure sensors, etc. (embedded in the contact points of the wearable device); thus, scoliosis health data can be collected through the aforementioned sensors and sent to the edge computing terminal for encrypted data transmission; at the same time, the edge computing terminal can, for example, but not limited to, use a microcontroller, which is integrated into the smart wearable device and communicates with the smart wearable device. Based on this, it can receive the scoliosis health data transmitted by the smart wearable device; then, the edge computing terminal uses the encryption algorithm combining multiple encryption methods provided in this embodiment to encrypt the scoliosis health data, thereby completing the encrypted transmission of the collected data and realizing the data security management of the smart wearable device.
[0027] Furthermore, the detailed process for data security management of the aforementioned system is disclosed below: In practical applications, smart wearable devices are used to collect scoliosis health data of target users in real time and transmit the scoliosis health data to an edge computing terminal. In this embodiment, various sensors disclosed above are used to collect scoliosis health data, such as posture angles (pitch, roll, and yaw), acceleration, angular velocity, electromyographic signals, and pressure signals, and the data can be collected at preset intervals (e.g., every 0.5 seconds). In this way, the smart wearable device continuously collects scoliosis health data of the target user and sends it to the edge computing terminal in real time, while the edge computing terminal can encrypt and transmit the received data.
[0028] Specifically, the encryption process for received data by the edge computing terminal is as follows: In practical implementation, the edge computing terminal first converts the scoliosis health data into a data matrix so that the data can be encrypted based on the data matrix in the subsequent security management process. For example, the edge computing terminal can upload the received scoliosis health data according to a preset time interval, such as uploading data once every 2 seconds. In this way, the scoliosis health data within 2 seconds can be used to construct a data matrix.
[0029] Specifically, the length of the original data is first recorded (this is used to extract the original data from the decrypted ciphertext during subsequent decryption). Then, the collected scoliosis health data is arranged into a one-dimensional array according to a preset order (such as in the order of posture angle, acceleration, angular velocity, electromyography signal, and pressure signal). Next, the number of rows and columns of the matrix is determined according to the array length. For example, the number of rows can be M and the number of columns can be N, such that M×N equals the array length (the insufficient part is filled with random numbers). Finally, the matrix is normalized to normalize the values in the matrix to between 0 and 255 (if the data is a floating-point number, it can be normalized to [0,1] first, then multiplied by 255 and rounded). In this way, the data matrix can be obtained. Of course, the aforementioned data normalization to 0-255 is a common data preprocessing technique, and its principle will not be elaborated here.
[0030] After converting the collected scoliosis health data into a data matrix, the edge computing terminal needs to generate a key sequence for subsequent encryption of the data matrix. Specifically, the edge computing terminal constructs a key function and calculates the control parameters of the key function based on the data matrix. Then, based on the control parameters and the key function, several key sequences can be generated. For example, the edge computing terminal can generate, but is not limited to, three key sequences.
[0031] Thus, after obtaining several key sequences, an encryption algorithm combining multiple encryption methods can be used to encrypt the data matrix. Specifically, the edge computing terminal first divides the data matrix into blocks to obtain several matrix blocks (which can be divided into four matrix blocks of the same size). Then, based on several key sequences and the block encryption algorithm, each matrix block is encrypted to obtain several encrypted matrix blocks. In this way, the block encryption algorithm can be used to achieve first-level encryption of the data matrix. Then, the edge computing terminal performs data mapping encryption on the several encrypted matrix blocks to obtain mapped encrypted data. Based on this, a second encryption method based on data mapping can be used to complete the second-level encryption of the data matrix. Next, the edge computing terminal also uses a third encryption method to perform triple encryption of the data matrix, that is, to perform perturbation encryption on the mapped encrypted data, thereby obtaining encrypted scoliosis health data after perturbation encryption. Finally, the encrypted scoliosis health data can be sent to the health management server, thereby completing the secure management of the smart wearable device after transmission.
[0032] Therefore, based on the aforementioned overall architecture description of the smart wearable device security management system, this embodiment adopts a combination of multiple encryption methods to encrypt and transmit the data collected by the smart wearable device. In this way, compared with traditional technologies, the encryption security is improved, thus effectively meeting the high requirements of smart wearable devices for data security encryption.
[0033] In one specific implementation, the functional structural units of the aforementioned edge computing terminal are provided below, so as to elaborate in detail the encryption process of scoliosis health data in conjunction with the functional structural units.
[0034] See Figure 1 As shown, an example edge computing terminal may include, but is not limited to, a key construction unit, a block encryption unit, a data mapping unit, and a data perturbation unit; wherein, the key construction unit is responsible for constructing the key function and generating the key sequence; while the block encryption unit, the data mapping unit, and the data perturbation unit use different methods to encrypt the data matrix in sequence, thereby obtaining the encrypted scoliosis health data.
[0035] Specifically, one expression of the public key function in this embodiment is shown in the following formula.
[0036] ; In the formula, For the key function in the th The state variable at the nth iteration (which represents the state variable at the nth iteration) (key value of the second time) For the key function in the th The state variables at the next iteration. These represent the first key parameter and the second key parameter, respectively, and both are constants greater than 0.
[0037] Therefore, after constructing the key function based on the aforementioned formula, it is necessary to calculate the control parameters of the key function, which are the initial values of the aforementioned state variables and the values of the key parameters, so that the key function can be iterated based on these parameters to generate several key sequences. The calculation process of the control parameters is as follows: A key construction unit is used to perform a hash operation on the data matrix to obtain a hash sequence, and divide the hash sequence into several hash sub-sequences in a left-to-right order, wherein any hash sub-sequence contains four hash blocks. In this embodiment, the SHA-512 hash algorithm is used to perform a hash operation on the data matrix, and then the obtained hash sequence is divided into 32-bit blocks, resulting in 16 hash blocks. Then, the 16 hash blocks can be divided into four hash sub-sequences, namely, the first hash sub-sequence contains the first to fourth hash blocks, the second hash sub-sequence contains the fifth to eighth hash blocks, the third hash sub-sequence contains the ninth to twelfth hash blocks, and the fourth hash sub-sequence contains the thirteenth to sixteenth hash blocks.
[0038] Thus, after the hash sequence is divided, the key construction unit performs an XOR operation on the four hash blocks in each hash subsequence to obtain four key control factors, and calculates the ratio of the four key control factors to the target value to obtain four initial key parameters, wherein the target value is determined based on the data matrix.
[0039] In practical implementation, for example, the target value is the order of magnitude of the element values of the data matrix. That is, if the element values in the data matrix are 0-255, then its order of magnitude is 256. Therefore, the target value is 256. Furthermore, for the first hash subsequence, the first hash block, the second hash block, the third hash block, and the fourth hash block are XORed sequentially to obtain the corresponding key control factor. Then, the ratio between the key control factor and 256 is used as the initial key parameter. In this way, after obtaining four initial key parameters based on the above method, the key construction unit can perform modulo operations on the first and second initial key parameters with the first specified value to obtain two initial key values.
[0040] Specifically, the first and second initial key parameters are modulo 1 respectively to obtain two initial key values, where the two initial key values are respectively The result of mod(B,1) is: when B (referring to the first and second initial key parameters) is an integer, the result is 0; when B is a decimal, the result is the decimal part of B; and when B is less than 1, the result is B itself.
[0041] Based on this, after obtaining the two initial key values, the key parameters can be calculated. Specifically, the key construction unit is used to perform a modulo operation on the third initial key parameter among the four initial key parameters and the second specified value, and to sum the result of the modulo operation with the first key coefficient to obtain the first key parameter. It is also used to perform a modulo operation on the last initial key parameter among the four initial key parameters and the third specified value, and to sum the result of the modulo operation with the second key coefficient to obtain the second key parameter.
[0042] In this embodiment, the second specified value and the third specified value are 2 and 5, respectively. Thus, based on the aforementioned method, after calculating the first key parameter and the second key parameter, the key construction unit can use the two key parameters and the two initial key values to compose the control parameters. Based on this, the aforementioned control parameters can be substituted into the aforementioned key function to iteratively generate three key sequences. Furthermore, the aforementioned... , and when When it is greater than 1, The value is 1. When less than or equal to 1, equal .
[0043] Furthermore, in specific implementation, the aforementioned and Substitute into the aforementioned key function, and then iterate. Next, discarding the first 200 terms, we can obtain the sequence corresponding to the three state variables x, y, and z. Based on this, the sequence corresponding to the three state variables x, y, and z can be used as the key sequence.
[0044] Therefore, after the key construction unit generates three key sequences, it can transmit them to the block encryption unit. The block encryption unit can then use the aforementioned three keys and a block encryption algorithm to encrypt the aforementioned four matrix blocks. The specific process by which the block encryption unit uses the first encryption method (i.e., the block encryption method) to encrypt the matrix blocks is as follows: In practical implementation, the block encryption unit is first used to perform key mapping processing on the three key sequences to obtain three key mapping sequences; then, it is used to construct a block encryption function, and use the block encryption function to perform multiple encryption processes on each matrix block to obtain several initial encryption matrix blocks (where the number of encryption times for any matrix block is (M+N) / 2, and M is the number of rows of the data matrix, and N is the number of columns of the data matrix); finally, the three key mapping sequences can be used to perform linear encryption processing on each initial encryption matrix block, thereby obtaining several encryption matrix blocks after linear encryption processing.
[0045] Optionally, one of the following public key mapping processing methods: In specific implementation, for any key sequence, the block encryption unit is used to generate an initial mapping sequence based on the key sequence and to generate mapping parameters according to the number of rows and columns of the data matrix; then, it is used to perform a modulo operation on each element in the initial mapping sequence with the second mapping parameters to obtain several initial mapping values, and to add 1 to the several initial mapping values to obtain several key mapping values. In this way, the key mapping sequence corresponding to any key sequence can be formed using the several key mapping values.
[0046] Optionally, this embodiment summarizes the aforementioned key mapping process into the following formula: In the formula, This refers to any of the key sequences. This represents the key mapping sequence corresponding to any of the key sequences. Modulo operation is represented. This indicates rounding down; where, The initial mapping sequence is obtained by adding 100 to each element of any key sequence and then multiplying it by 10 to the power of 10. This indicates the mapping parameter.
[0047] Thus, based on the aforementioned formula, after mapping the three key sequences, the encryption of each matrix block can be performed. The block encryption process will be illustrated using any given matrix block as an example: In this embodiment, for any element in any matrix block, the block encryption unit is used to obtain the row and column index of the element in the matrix block; then, based on the block encryption function, the row and column index is transformed to obtain the transformed row and column index corresponding to the element, and after polling all elements in the matrix block, the transformed row and column index of each element is obtained; finally, the block encryption unit can swap the positions of each element in the matrix block based on the transformed row and column index of each element, so that after the position swap, the first-encrypted matrix block corresponding to the matrix block is obtained.
[0048] In this embodiment, the block encryption unit may, but is not limited to, use the following formula to transform the row and column indices to obtain the transformed row and column indices of any element.
[0049] ; In the formula, This represents the row index and column index of any of the elements. This represents the transform row index and transform column index in the transform row and column indices of any element; in this embodiment, the block encryption function is: ,in, Reference Z refers to or .
[0050] Thus, based on the aforementioned formula, the transformed row and column indices of each element in any matrix block can be calculated. Then, based on the transformed row and column indices of each element, the positions of each element are adjusted, thereby obtaining the first encrypted matrix block corresponding to any matrix. Similarly, this first encrypted matrix block is used as the original matrix block, and then the transformed row and column indices are calculated again using the aforementioned method, and the positions are transformed again. Based on this, encryption is continuously performed according to the aforementioned principle until the number of encryption times reaches (M+N) / 2, at which point the initial encrypted matrix block corresponding to any matrix block can be obtained. Of course, the multiple block encryption process for the other matrix blocks is the same as the aforementioned example, and will not be repeated here.
[0051] After completing multiple block encryptions of each matrix block, linear encryption can be performed on each initial encryption matrix block based on the aforementioned three key mapping sequences; the linear encryption process is as follows: The block encryption unit first converts the three key mapping sequences into two-dimensional matrices to obtain three key mapping matrices, and then sums the three key mapping matrices to obtain a new key mapping matrix. Then, it assigns the three key mapping matrices and the new key mapping matrix to four initial encryption matrix blocks (in this embodiment, each initial encryption matrix block corresponds to a mapping matrix). Finally, the block encryption unit sums each initial encryption matrix block with its corresponding mapping matrix to obtain four summation matrices, and then performs a modulo operation on the four summation matrices with a preset mapping factor to obtain four encryption matrix blocks after the modulo operation.
[0052] In practical implementation, assuming that the three key mapping matrices are the first key mapping matrix, the second key mapping matrix, and the third key mapping matrix, then the first initial encryption matrix block in the four initial encryption matrix blocks corresponds to the first key mapping matrix, the second initial encryption matrix block corresponds to the second key mapping matrix, the third initial encryption matrix corresponds to the third key mapping matrix, and the fourth initial encryption matrix corresponds to the new key mapping matrix.
[0053] Based on this, linear encryption can be performed using the mapping matrix corresponding to each initial encryption matrix block. For example, the preset mapping factor can be, but is not limited to, 512. Therefore, after obtaining the encryption matrix block based on linear encryption, the first layer of encryption based on block encryption can be completed. Then, the second layer of encryption can be performed using the data mapping-based encryption method.
[0054] Optionally, secondary encryption is performed by the data mapping unit, and the process is as follows: The data mapping unit first calculates data mapping coefficients based on the number of rows and columns of the data matrix; then, it constructs a mapping function and performs data mapping processing on each encrypted matrix block based on the mapping function, the data mapping coefficients, and the number of rows and columns of the data matrix to obtain several mapping matrix blocks; finally, a mapping matrix is generated based on the several mapping matrix blocks, and the mapping matrix is converted into a one-dimensional data sequence; thus, the one-dimensional data sequence can be used as the mapped encrypted data.
[0055] In practical applications, the data mapping coefficients can be, but are not limited to, the following: In the formula, Represents the data mapping coefficients. It is a constant (with a value range of [1, N-1]). It is a function with the greatest common divisor, and These represent the number of rows and columns of the data matrix, respectively. Thus, after calculating the data mapping coefficients based on the aforementioned formula, the mapping function can be used to perform data mapping processing on each encrypted matrix block.
[0056] Optionally, the data mapping unit is specifically used to calculate the mapping position of each encrypted element in any encrypted matrix block based on the mapping function, the data mapping coefficient, and the number of rows and columns of the data matrix; then, according to the mapping position of each encrypted element, the position mapping is performed on each encrypted element in the any encrypted matrix block; thus, after the position mapping, the mapping matrix block corresponding to the any encrypted matrix block can be obtained.
[0057] Furthermore, for example, but not limited to, the following formula can be used to determine the mapping position of any encrypted element in any of the aforementioned encrypted matrix blocks.
[0058] ; In the formula, These represent the original row position and the original column position of any encrypted element (i.e., the row position and column position of any encrypted element in any encrypted matrix block). This indicates the mapping row position and mapping column position of any of the encrypted elements. Represents a positive integer (with a value range of [1, M-1]). Modulo operation is represented. For the mapping function, ,and These are variables for the mapping function.
[0059] Thus, based on the aforementioned formula, the mapping position of each encrypted element in each encrypted matrix block can be determined; then, according to the mapping position of each encrypted element, each encrypted element is adjusted to its corresponding mapping position, thereby generating the mapping matrix block corresponding to each encrypted matrix block; thus, if the original position of any encrypted element is (2,3) and the mapping position is (1,4), then the encrypted element is moved to the position of the first row and fourth column of the encrypted matrix block; of course, the above example is only illustrative, and this embodiment is not limited to this.
[0060] Based on this, after obtaining each mapping matrix block, the mapping matrix blocks can be merged to generate a mapping matrix. Then, by reading each element in the mapping matrix from left to right and from top to bottom, a mapping encryption matrix can be generated (i.e., starting from the first row and first column, read to the right, and after reading, start from the second row and second column and read to the right until the entire mapping matrix is read).
[0061] After completing the second encryption of each encryption matrix block based on the second-party encryption method, a third encryption method can be used to perform a third encryption, namely, using perturbation encryption to encrypt the mapped encryption data.
[0062] Optionally, the third encryption is performed by the data perturbation unit, and its specific encryption process is as follows: The data perturbation unit is first used to generate a first perturbation key sequence and a second perturbation key sequence according to the key function; then, it is used to calculate the perturbation control factor according to the data matrix; finally, it can be used to perform perturbation encryption processing on the mapped encrypted data based on the first perturbation key sequence, the second perturbation key sequence and the perturbation control factor, so as to obtain encrypted scoliosis health data after perturbation encryption processing.
[0063] In practice, the aforementioned control parameters can be substituted into the key function for iteration, and then the first 1000 terms can be discarded. Then, the iteration continues for M×N times. Finally, the sequence corresponding to the two state variables x and y is selected as the first perturbation key sequence and the second perturbation key sequence.
[0064] After obtaining the two perturbation key sequences, the mean of all elements in the data matrix can be calculated, and this mean can be used as the perturbation control factor. Finally, the two perturbation key sequences can be combined to perform perturbation encryption of the mapped encrypted data.
[0065] Specifically, for any mapping element in the mapped encrypted data, the example data perturbation unit may, but is not limited to, use the following formula to perform perturbation encryption processing on any mapping element.
[0066] ; In the formula, Represents any of the mapping elements, This indicates the sorting number of any mapping element in the mapped encrypted data (e.g., if any mapping element is the third element, then b is 3). This represents any of the mapping elements after perturbation and encryption. This represents the (b-1)th element in the encrypted scoliosis health data. These represent the first perturbation key sequence, respectively. The first perturbation key and the second perturbation key sequence in the second perturbation key sequence A perturbation key This represents the disturbance control factor. This represents the XOR operation. This indicates a modulo operation.
[0067] Thus, based on the aforementioned formula, the encryption of each mapping element in the encrypted mapping data can be completed; then, by using the encrypted mapping elements after perturbation, the encrypted scoliosis health data can be formed; finally, the edge computing terminal can send it to the health management server, thereby completing the encrypted transmission of the target user's scoliosis health data, and thus completing the secure management of the data collected by the smart wearable device.
[0068] Of course, the health management server records the aforementioned control parameters, then substitutes these control parameters into the key function to obtain the key sequence, which is then used as the decryption key. Subsequently, perturbation decryption, data mapping decryption, and block decryption are performed sequentially to obtain the decrypted data. Finally, based on the length of the original data recorded above, the decrypted data is truncated to obtain the scoliosis health data.
[0069] Therefore, through the detailed description of the intelligent wearable device security management system for scoliosis health data collection, this invention adopts a combination of multiple encryption methods to encrypt and transmit the data collected by the intelligent wearable device. In this way, compared with traditional technology, the encryption security is improved, thus well meeting the high requirements of intelligent wearable devices for data security encryption. Therefore, this invention is very suitable for large-scale application and promotion.
[0070] like Figure 2 As shown, the second aspect of this embodiment provides a smart wearable device safety management method for scoliosis health data acquisition, wherein the method is executed based on the smart wearable device safety management system for scoliosis health data acquisition described in the first aspect of the embodiment, and the operation steps of the method may be, but are not limited to, as shown in steps S1 to S6 below.
[0071] S1. The smart wearable device collects the target user's scoliosis health data in real time and transmits the scoliosis health data to the edge computing terminal.
[0072] S2. The edge computing terminal converts the scoliosis health data into a data matrix.
[0073] S3. The edge computing terminal constructs a key function and calculates the control parameters of the key function based on the data matrix, so as to generate several key sequences based on the control parameters and the key function.
[0074] S4. The edge computing terminal divides the data matrix into blocks to obtain several matrix blocks, and encrypts each matrix block based on several key sequences and block encryption algorithms to obtain several encrypted matrix blocks.
[0075] S5. The edge computing terminal performs data mapping and encryption processing on several encryption matrix blocks to obtain mapped encrypted data.
[0076] S6. The edge computing terminal performs perturbation encryption on the mapped encrypted data to obtain encrypted scoliosis health data, and sends the encrypted scoliosis health data to the health management server to complete the security management of the smart wearable device after sending.
[0077] The working process, working details and technical effects of the method provided in this embodiment can be found in the first aspect of the embodiment, and will not be repeated here.
[0078] like Figure 3As shown, the third aspect of this embodiment provides another intelligent wearable device security management system for scoliosis health data acquisition. Taking the system as an electronic device as an example, it includes: a memory, a processor, and a transceiver that are connected in sequence. The memory is used to store computer programs, the transceiver is used to send and receive messages, and the processor is used to read the computer programs and execute the intelligent wearable device security management method for scoliosis health data acquisition as described in the second aspect of the embodiment.
[0079] For specific examples, the memory may include, but is not limited to, random access memory (RAM), read-only memory (ROM), flash memory, first-in-first-out (FIFO) memory, and / or first-in-last-out (FILO) memory, etc.; specifically, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented using at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), PLA (Programmable Logic Array). The processor may also include a main processor and a coprocessor. The main processor, also known as the CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state.
[0080] In some embodiments, the processor may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. For example, the processor may not be limited to microprocessors of the STM32F105 series, reduced instruction set computer (RISC) microprocessors, x86 architecture processors, or processors with integrated neural network processing units (NPUs). The transceiver may be, but is not limited to, a Wi-Fi transceiver, a Bluetooth transceiver, a General Packet Radio Service (GPRS) transceiver, a ZigBee (a low-power LAN protocol based on the IEEE 802.15.4 standard) transceiver, a 3G transceiver, a 4G transceiver, and / or a 5G transceiver. Furthermore, the device may also include, but is not limited to, a power module, a display screen, and other necessary components.
[0081] The working process, working details and technical effects of the electronic device provided in this embodiment can be found in the first aspect of the embodiment, and will not be repeated here.
[0082] The fourth aspect of this embodiment provides a storage medium that stores instructions for a smart wearable device security management method for scoliosis health data acquisition as described in the second aspect of this embodiment. That is, the storage medium stores instructions that, when executed on a computer, perform the smart wearable device security management method for scoliosis health data acquisition as described in the second aspect of this embodiment.
[0083] The storage medium refers to a carrier for storing data, which may include, but is not limited to, floppy disks, optical disks, hard disks, flash memory, USB flash drives, and / or memory sticks. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0084] The working process, working details and technical effects of the storage medium provided in this embodiment can be found in the first aspect of the embodiment, and will not be repeated here.
[0085] The fifth aspect of this embodiment provides a computer program product containing instructions that, when executed on a computer, cause the computer to perform the smart wearable device security management method for scoliosis health data acquisition as described in the second aspect of this embodiment. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0086] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A smart wearable device safety management system for scoliosis health data collection, characterized in that, include: A smart wearable device is used to collect scoliosis health data of a target user in real time and transmit the scoliosis health data to an edge computing terminal. An edge computing terminal is used to convert the scoliosis health data into a data matrix; An edge computing terminal is used to construct a key function and calculate the control parameters of the key function based on the data matrix, so as to generate several key sequences based on the control parameters and the key function; An edge computing terminal is used to divide a data matrix into blocks to obtain several matrix blocks, and to encrypt each matrix block based on several key sequences and a block encryption algorithm to obtain several encrypted matrix blocks. An edge computing terminal is used to perform data mapping and encryption processing on several encryption matrix blocks to obtain mapped encrypted data. The edge computing terminal is also used to perform perturbation encryption processing on the mapped encrypted data to obtain encrypted scoliosis health data, and send the encrypted scoliosis health data to the health management server so as to complete the security management of the smart wearable device after sending.
2. The intelligent wearable device safety management system for scoliosis health data acquisition according to claim 1, characterized in that, Edge computing terminals include: key construction units; A key construction unit is used to perform hash operations on the data matrix to obtain a hash sequence, and divide the hash sequence into several hash subsequences in order from left to right, wherein any hash subsequence contains four hash blocks; A key construction unit is used to perform an XOR operation on the four hash blocks in each hash subsequence to obtain four key control factors, and calculate the ratio of the four key control factors to the target value to obtain four initial key parameters respectively, wherein the target value is determined based on the data matrix; The key construction unit is used to perform modulo operations on the first and second initial key parameters among the four initial key parameters with a first specified value to obtain two initial key values; The key construction unit is used to perform a modulo operation on the third initial key parameter among the four initial key parameters and the second specified value, and to sum the result of the modulo operation with the first key coefficient to obtain the first key parameter; and to perform a modulo operation on the last initial key parameter among the four initial key parameters and the third specified value, and to sum the result of the modulo operation with the second key coefficient to obtain the second key parameter. The key construction unit is also used to compose the control parameters using two key parameters and two initial key values.
3. The intelligent wearable device safety management system for scoliosis health data acquisition according to claim 1, characterized in that, Several key sequences include three key sequences, and the edge computing terminal includes: a block encryption unit; The block encryption unit is used to perform key mapping processing on the three key sequences to obtain three key mapping sequences. The block encryption unit is used to construct a block encryption function and use the block encryption function to perform multiple encryption processes on each matrix block to obtain several initial encryption matrix blocks. The number of encryption times for any matrix block is (M+N) / 2, where M is the number of rows of the data matrix and N is the number of columns of the data matrix. The block encryption unit is also used to perform linear encryption on each initial encryption matrix block using three key mapping sequences, so as to obtain several encryption matrix blocks after linear encryption.
4. The intelligent wearable device safety management system for scoliosis health data acquisition according to claim 3, characterized in that, For any key sequence, the block encryption unit is used to generate an initial mapping sequence based on the key sequence, and to generate mapping parameters according to the number of rows and columns of the data matrix; The block encryption unit is used to perform a modulo operation on each element in the initial mapping sequence and the second mapping parameter to obtain several initial mapping values, and to add 1 to the several initial mapping values to obtain several key mapping values, so as to use the several key mapping values to form a key mapping sequence corresponding to any key sequence. Correspondingly, for any element in any matrix block, the block encryption unit is used to obtain the row and column index of the any element in the any matrix block; The block encryption unit is used to transform the row and column indices based on the block encryption function to obtain the transformed row and column indices corresponding to any element, and to obtain the transformed row and column indices of each element after polling all elements in any matrix block. The block encryption unit is also used to swap the positions of each element in any matrix block based on the transformed row and column indices of each element, so as to obtain a first-encrypted matrix block corresponding to any matrix block after the position swap.
5. The intelligent wearable device safety management system for scoliosis health data acquisition according to claim 4, characterized in that, The block encryption unit is used to transform the row and column indices using the following formula to obtain the transformed row and column indices of any element. ; In the formula, This represents the row index and column index of any of the elements. The transform row index and transform column index represent the transform row and column indices of any given element.
6. The intelligent wearable device safety management system for scoliosis health data acquisition according to claim 3, characterized in that, Several initial encryption matrix blocks include four initial encryption matrix blocks; The block encryption unit is used to convert the three key mapping sequences into two-dimensional matrices to obtain three key mapping matrices, and then sum the three key mapping matrices to obtain a new key mapping matrix. The block encryption unit is used to distribute the three key mapping matrices and the new key mapping matrix to four initial encryption matrix blocks, wherein each initial encryption matrix block corresponds to a mapping matrix. The block encryption unit is also used to sum each initial encryption matrix block with its corresponding mapping matrix to obtain four summation matrices, and to perform a modulo operation on the four summation matrices with a preset mapping factor to obtain four encryption matrix blocks after the modulo operation.
7. The intelligent wearable device safety management system for scoliosis health data acquisition according to claim 1, characterized in that, Edge computing terminals include: a data mapping unit; The data mapping unit is used to calculate data mapping coefficients based on the number of rows and columns of the data matrix. In the formula, It is a constant. It is a function with the greatest common divisor, and These represent the number of rows and columns of the data matrix, respectively. A data mapping unit is used to construct a mapping function and, based on the mapping function, the data mapping coefficients, and the number of rows and columns of the data matrix, perform data mapping processing on each encrypted matrix block to obtain several mapping matrix blocks; The data mapping unit is further configured to generate a mapping matrix based on several mapping matrix blocks, and convert the mapping matrix into a one-dimensional data sequence so that the one-dimensional data sequence can be used as the mapped encrypted data.
8. The intelligent wearable device safety management system for scoliosis health data acquisition according to claim 7, characterized in that, The data mapping unit is used to calculate the mapping position of each encrypted element in any encrypted matrix block based on the mapping function, the data mapping coefficient, and the number of rows and columns of the data matrix, and to perform position mapping on each encrypted element in the any encrypted matrix block according to the mapping position of each encrypted element, so as to obtain the mapping matrix block corresponding to the any encrypted matrix block after position mapping. The following formula is used to determine the mapping position of any encrypted element; ; In the formula, These represent the original row position and the original column position of any of the encrypted elements, respectively. This indicates the mapping row position and mapping column position of any of the encrypted elements. Represents positive integers. Modulo operation is represented. For the mapping function, ,and These are variables for the mapping function.
9. The intelligent wearable device safety management system for scoliosis health data acquisition according to claim 1, characterized in that, The edge computing terminal also includes: a data perturbation unit; The data perturbation unit is used to generate a first perturbation key sequence and a second perturbation key sequence according to the key function. The data disturbance unit is used to calculate the disturbance control factor based on the data matrix. The data perturbation unit is further configured to perform perturbation encryption processing on the mapped encrypted data based on the first perturbation key sequence, the second perturbation key sequence, and the perturbation control factor, so as to obtain encrypted scoliosis health data.
10. A smart wearable device safety management system for scoliosis health data acquisition according to claim 9, characterized in that, For any mapping element in the mapped encrypted data, the data perturbation unit is used to perform perturbation encryption processing on any mapping element using the following formula; ; In the formula, Represents any of the mapping elements, This represents the sort order number of any mapping element in the mapped encrypted data. This represents any of the mapping elements after perturbation and encryption. This represents the (b-1)th element in the encrypted scoliosis health data. These represent the first perturbation key sequence, respectively. The first perturbation key and the second perturbation key sequence in the second perturbation key sequence A perturbation key This represents the disturbance control factor. This represents the XOR operation. This indicates a modulo operation.