Sitting posture analysis method, device, computer equipment and medium based on artificial intelligence
Through the sitting posture analysis method based on artificial intelligence, the spinal force model and the target prediction model are used to accurately monitor and correct the user's sitting posture, which solves the problem that existing technology cannot effectively monitor and correct, and improves the protection of the user's sitting posture for spinal health.
Patent Information
- Application Number
- CN202210082491.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-24
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-01-24
AI Technical Summary
Existing ergonomic chairs cannot accurately monitor and correct the user's sitting posture, resulting in deformation of the spine and cervical vertebrae, which may cause health problems.
Using the sitting posture analysis method based on artificial intelligence, by obtaining the user's sitting posture data, inputting the preset spine force model and the trained target prediction model, predicting the spine shape data, and matching the similarity with the data in the database to determine the user The spine shape enables accurate monitoring of sitting posture.
It can accurately monitor the user's sitting posture, predict spinal deformation, help users adjust their sitting posture, and reduce health risks of the spine and cervical spine.
Smart Images

Figure CN114419676B
Abstract
Description
Technical Field
[0001] The present invention is applicable to the field of artificial intelligence technology, and in particular relates to a sitting posture analysis method, device, computer equipment and medium based on artificial intelligence. Background Art
[0002] At present, more and more people need to sit for a long time in their daily office work, which has a certain impact on the human spine and cervical spine. When the human body sits incorrectly, the spine and cervical spine will be deformed over time, and even health problems will occur. Although the existing ergonomic chairs are built in an ergonomic way, they can only provide corresponding support to reduce the user's body fatigue, but cannot correct the user's sitting posture. With the development of sensor technology, sensors can be used to monitor the user's sitting posture. Due to differences in each person's body shape, weight, etc., the data collected by the sensor cannot accurately determine whether there is a problem with the user's sitting posture. Therefore, how to accurately monitor the user's sitting posture has become an urgent problem to be solved. Summary of the invention
[0003] In view of this, the embodiments of the present invention provide a sitting posture analysis method, apparatus, computer equipment and medium based on artificial intelligence to solve the problem of monitoring the sitting posture of the user.
[0004] In a first aspect, an embodiment of the present invention provides a sitting posture analysis method based on artificial intelligence, the sitting posture analysis method comprising:
[0005] When detecting that the user is in a sitting state, acquiring the sitting posture data of the user;
[0006] Inputting the sitting posture data into a preset spinal column stress model to determine the current relative stress data of each vertebra on the spine;
[0007] Inputting the current relative force data into a trained target prediction model to obtain the user's spine shape data after a preset time;
[0008] The spinal column shape data is matched with existing spinal column shape data in a database for data similarity, and the spinal column morphology corresponding to the matched existing spinal column shape data is determined to be the spinal column morphology of the user after the preset time.
[0009] In a second aspect, an embodiment of the present invention provides a sitting posture analysis device based on artificial intelligence, the sitting posture analysis device comprising:
[0010] A sitting posture data acquisition module, used to acquire the user's sitting posture data when detecting that the user is in a sitting state, wherein the sitting posture data includes external pressure data of various parts of the user's body after the user sits;
[0011] A force data determination module, used for inputting the sitting posture data into a preset spinal force model to determine the current relative force data of each vertebra on the spine;
[0012] A shape data prediction module, used to input the current relative force data into a trained target prediction model to obtain the user's spine shape data after a preset time;
[0013] The spine morphology determination module is used to perform data similarity matching between the spine shape data and existing spine shape data in a database, and determine that the spine morphology corresponding to the matched existing spine shape data is the spine morphology of the user after the preset time.
[0014] In a third aspect, an embodiment of the present invention provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the sitting posture analysis method as described in the first aspect when executing the computer program.
[0015] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the sitting posture analysis method as described in the first aspect is implemented.
[0016] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: the present invention inputs the collected sitting posture data of the user into a preset spinal force model, determines the current relative force data of each vertebra on the spine, inputs the current relative force data of each vertebra into a trained target prediction model, determines the spinal shape data after a preset time, matches the spinal shape data with the existing spinal shape data in the database for data similarity, determines that the spinal morphology corresponding to the matched existing spinal shape data is the spinal morphology of the user after a preset time, calculates the spinal force according to the user's sitting posture data, and uses the calculation result of the spinal force to predict the deformation of the spine, and then determines the morphology of the spine in combination with the deformation of the spine, thereby accurately predicting the impact of the current sitting posture on the user's spinal morphology, and further realizing sitting posture monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0018] Figure 1 This is a schematic diagram of an application environment of a sitting posture analysis method based on artificial intelligence provided by an embodiment of the present invention;
[0019] Figure 2 It is a flowchart of a sitting posture analysis method based on artificial intelligence provided by one embodiment of the present invention;
[0020] Figure 3 It is a flowchart of a sitting posture analysis method based on artificial intelligence provided by one embodiment of the present invention;
[0021] Figure 4 is a structural schematic diagram of a sitting posture analysis device based on artificial intelligence provided by an embodiment of the present invention;
[0022] Figure 5 It is a structural schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0024] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0025] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0026] As used in the present specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]", depending on the context.
[0027] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0028] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0029] The embodiments of the present invention can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0030] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0031] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0032] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0033] The embodiment of the present invention provides a sitting posture analysis method based on artificial intelligence, which can be applied in the following aspects: Figure 1 In an application environment, a client communicates with a server. The client includes but is not limited to a PDA, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cloud computer device, a personal digital assistant (PDA), and other computer devices. The server can be implemented by an independent server or a server cluster consisting of multiple servers.
[0034] In one embodiment, see Figure 2, is a flow chart of a sitting posture analysis method based on artificial intelligence provided by the present invention, and the sitting posture analysis method can be applied to Figure 1 The server in the server, the computer device corresponding to the server connects to the corresponding database to obtain the corresponding data. The above-mentioned computer device can also be connected to the corresponding collection device to collect the corresponding data. Figure 2 As shown, the sitting posture analysis method may include the following steps:
[0035] Step S201, when it is detected that the user is in a sitting state, the user's sitting posture data is obtained.
[0036] Among them, the sitting posture data includes the external pressure data of various parts of the body after the user sits down. It is the data collected by the corresponding sensors on the seat after the user sits down on a pre-customized seat or other tool. If it is necessary to pay attention to the sitting posture of the waist and back of the user after sitting down, corresponding pressure sensors can be set in the waist support and back support of the seat to detect the external pressure data of the waist and the external pressure data of the back after the user sits down, and these pressure data are used as data to characterize the sitting posture of the user.
[0037] In the present invention, the computer device is connected to the pressure sensor of each body part in the seat, so as to obtain the pressure data corresponding to each body part. The computer device is connected to the pressure sensor by wire or wirelessly to obtain the data detected by the pressure sensor. In one embodiment, after the user sits down, the pressure data and the corresponding user identity document (ID) are aggregated and stored in a corresponding database, and the computer device is connected to the database to obtain the user's sitting posture data through the user ID.
[0038] When the corresponding sensor on the seat detects that the pressure becomes larger, it is detected that the user is in a sitting state, or a pressure sensor is set on the bottom plate of the seat, and when the pressure sensor detects that the pressure is within a certain range, it is determined that the user is in a sitting state. Furthermore, after the user sits down, the user's sitting posture data can be periodically collected in a regular collection manner.
[0039] The seat of the present invention is provided with micro sensors, which are combined with various micro sensors and stress points and stress surfaces such as the seat cushion and backrest of the seat to detect the user's sitting posture stress points in real time. A smart chip can be set at the armrest of the seat to integrate the detected user sitting posture data and complete the unified management of all sensors.
[0040] Step S202, inputting the sitting posture data into a preset spinal column stress model to determine the current relative stress data of each vertebra on the spine.
[0041] Among them, through the relationship between the action force and the reaction force, the pressure data in the sitting posture data is converted into the support force for each part, and the support force for each part is translated and mapped to the spine to obtain the force of the entire spine, and the force of the entire spine is divided according to the vertebrae to obtain the relative action force (i.e., relative force data) received by each vertebra. In the present invention, the preset spine force model is a calculation model that completes the conversion of the sitting posture data into relative force data.
[0042] After establishing the theoretical spinal force model, the spinal force model is optimized and adjusted through a large amount of pressure data of healthy people after sitting collected by the above-mentioned chair to obtain a preset spinal force model. The input of the above-mentioned preset spinal force model can be sitting posture data, and the output is the current relative force data of each vertebra on the spine. During use, this spinal force model can be optimized through major medical and research institutions.
[0043] In one embodiment, when establishing a theoretical spinal force model, weight data and height data are also used as variables to enter, so that the spinal force model can be applicable to people of different heights and weights. When optimizing the model, a large number of users' height data and weight data can be input through an external input device, and the spinal force model is optimized in combination with the corresponding sitting posture data to obtain a preset spinal force model. The input of the preset spinal force model includes sitting posture data, weight data and height data, and the output is the current relative force data of each vertebra on the spine. When in use, a pressure sensor can also be set on the seat to detect the user's weight data, and the user's height data is input through an external input device. In combination with the above-mentioned sitting posture data and the preset spinal force model, the current relative force data of each vertebra of the user can be determined.
[0044] Step S203, inputting the current relative force data into the trained target prediction model to obtain the user's spine shape data after a preset time.
[0045] The target prediction model takes the relative force of the spine as input, predicts the curvature and deformation of the spine after a preset time, and outputs the spine shape data after the preset time. The above-mentioned spine shape data can refer to a two-dimensional or three-dimensional spine shape graph or the relative position relationship of each vertebra in the spine.
[0046] In the present invention, the above-mentioned target prediction model can be a model based on a back-propagation (BP) neural network, and its corresponding training set includes the spinal shape data of users with non-standard spines, the relative force data of the spine after the corresponding user sits on the above-mentioned chair, and the time that the corresponding user sits in this sitting posture. The target prediction model is trained using the training set to obtain a trained target prediction model. The input of the trained target prediction model is the relative force data, and the output is the spinal shape data.
[0047] The training process takes the relative force data of the spine of a non-standard spine user on the above-mentioned chair and the corresponding sitting time of the non-standard spine user as input, and the spine shape data of the non-standard spine user as the target until the iteration is completed. The trained target prediction model can predict the spine shape over time based on the relative force data corresponding to various sitting postures.
[0048] Step S204, performing data similarity matching between the spine shape data and existing spine shape data in the database, and determining that the spine morphology corresponding to the matched existing spine shape data is the spine morphology of the user after a preset time.
[0049] The database stores the mapping relationship between the spinal shape data and the spinal morphology. The spinal shape data and the spinal morphology can be associated and annotated by corresponding doctors, experts, etc. For example, the spinal morphology data is a spinal graph, and the spinal morphology includes slight deformation, severe deformation and no deformation. When the spinal shape in the spinal graph is significantly different from the standard spinal shape, the corresponding spinal morphology can be severe deformation.
[0050] In the present invention, the above-mentioned computer device is connected to a database to obtain existing spinal shape data in the database and its corresponding spinal morphology. The above-mentioned computer device obtains spinal shape data from the database and compares it one by one with the above-mentioned spinal shape data, determines that the spinal shape data with smaller differences are the matching existing spinal shape data, and obtains the spinal morphology corresponding to the matching existing spinal shape data from the database according to the mapping relationship. For example, the spinal morphology data is the relative position data of each vertebra in the spine and the first vertebra. When matching, a set of relative position data in the user's spinal morphology data is compared with any set of relative position data in the database to determine the similarity of the relative position data, and is determined to be a match when the similarity is less than a threshold.
[0051] In one embodiment, the computer device sends the spinal shape data to a database, which performs a data similarity matching operation and sends the spinal morphology corresponding to the matched spinal shape data to the computer device.
[0052] In the present invention, the spinal morphology may refer to an undeformed morphology or a deformed morphology, wherein the deformed morphology may include a slightly deformed morphology, a severely deformed morphology, and the like.
[0053] After matching the corresponding spinal shape data, the corresponding spinal morphology is determined from the database. The spinal morphology is the predicted spinal morphology. If the spinal morphology is a deformed morphology, it can be said that the user's sitting posture is a non-standard sitting posture or a problematic sitting posture. If the spinal morphology is not deformed, it can be said that the user's sitting posture is a standard sitting posture or a non-problematic sitting posture, thereby realizing the analysis of the sitting posture.
[0054] For example, 20 pressure sensors are symmetrically arranged on the vertical center axis of the seat at the lumbar support and back support of the seat, which can detect the pressure values at 20 positions on both sides of the waist and back of the user after sitting down. Each pressure sensor has a corresponding mark, and the pressure value corresponds to the mark one by one; the pressure values of the 20 positions are input into the preset spinal force model, and the relative force values of 17 vertebrae in the spine (including thoracic vertebrae and lumbar vertebrae) are output; the trained target prediction model is input according to the 17 relative force values to obtain spinal shape data, and the spinal shape data is matched with the spinal shape data in the database for data similarity, and the corresponding spinal shape data is matched. If the spinal morphology corresponding to the spinal shape data is a deformed morphology, it can be said that the user's sitting posture is a problematic sitting posture.
[0055] The embodiment of the present invention inputs the collected sitting posture data of the user into a preset spinal force model, determines the current relative force data of each vertebra on the spine, inputs the current relative force data of each vertebra into a trained target prediction model, determines the spinal shape data after a preset time, matches the spinal shape data with the existing spinal shape data in the database for data similarity, determines that the spinal morphology corresponding to the matched existing spinal shape data is the spinal morphology of the user after a preset time, calculates the spinal force according to the user's sitting posture data, and uses the calculation result of the spinal force to predict the deformation of the spine, and then determines the morphology of the spine in combination with the deformation of the spine, thereby accurately predicting the impact of the current sitting posture on the user's spinal morphology, and further realizing sitting posture monitoring.
[0056] In one embodiment, the trained target prediction model includes a trained displacement prediction model. Step S203, that is, inputting the current relative force data into the trained target prediction model, and obtaining the spinal shape data of the user after a preset time includes:
[0057] Compare the current relative force data of each vertebra with the standard relative force data of the corresponding vertebra in the standard form to determine the force difference data of each vertebra;
[0058] Input the force difference data of each vertebra into the trained displacement prediction model to predict the displacement of each vertebra after a preset time;
[0059] The displacement of each vertebra is added to the relative position of the corresponding vertebra in the standard form, and the relative position of each vertebra after the addition is determined as the spinal shape data of the user after a preset time.
[0060] Among them, the above-mentioned target prediction model includes a preprocessing part, a displacement prediction part and a fusion output part. The preprocessing part is to compare the current relative force data of each vertebra with the standard relative force data of the corresponding vertebra under the standard form to find the difference. The displacement prediction part is a trained displacement prediction model, which is used to calculate the displacement after a preset time based on the difference. The fusion output part updates the position of each vertebra in the standard form according to the displacement of each vertebra, thereby forming the spinal shape data.
[0061] The training set corresponding to the above target prediction model is mainly trained for the displacement prediction part, and the current relative force data of each vertebra in the spine under the standard form is established. A large amount of relative force data, the time of irregular sitting posture and the marked spinal displacement are used as the training set, wherein the marked spinal displacement can obtain the spinal shape map through the electronic computed tomography (Computed Tomography, CT) device, and the displacement is marked. The relative force data is collected by the above seat and calculated according to the preset spinal force model. The training process is to use the force difference data and time as input, and the marked spinal displacement as the target until the iteration is completed.
[0062] The embodiment of the present invention divides the target prediction model into three parts, finds the difference through the preprocessing part, and uses the difference, time, and annotated spinal displacement as a training set to train the displacement prediction part, thereby reducing the complexity of the overall model.
[0063] In one embodiment, the trained displacement prediction model includes trained displacement parameters, where the displacement parameters are unit displacement values per unit time under unit force, and the force difference data include the force value and force direction of each vertebra after comparison. The force difference data of each vertebra is input into the trained displacement prediction model, and the displacement of each vertebra after a preset time is predicted to include:
[0064] The force value of each vertebra is multiplied by the preset time and the unit displacement value in the trained displacement prediction model, and the multiplication result is determined as the displacement value of the corresponding vertebra;
[0065] The force direction of each vertebra is used as the displacement direction of the corresponding vertebra, and the displacement amount of the corresponding vertebra is determined as the corresponding displacement value and displacement direction.
[0066] Among them, the corresponding parameters in the trained displacement prediction model have been trained, including the displacement parameter, which is the unit displacement value per unit time under a unit force. For example, the unit displacement value is 3mm / s / N, that is, the displacement value of 1s under a force of 1N is 3mm. The displacement includes both size and direction. The displacement value is the size of the displacement, and the direction of the displacement is the same as the direction of the force.
[0067] In one embodiment, before step S203, that is, before inputting the current relative force data into the trained target prediction model to obtain the spinal shape data of the user after a preset time, the method further includes:
[0068] A model matching the height data of the user is determined from the prediction model library as the target prediction model. Since different heights correspond to different spine lengths and stress levels, the applicable target prediction models are also different. Before predicting the spine shape data, the present invention also obtains the height data of the user, so as to match the corresponding trained target prediction model for it.
[0069] Different training sets are set for different height data, and prediction models related to height data are obtained through training. The trained prediction models are stored in a prediction model library corresponding to the height, and the prediction model library stores prediction models corresponding to each height. When in use, the prediction model corresponding to the height is matched from the prediction model library as the target prediction model. Among them, a certain range of heights in the prediction model library can correspond to a target prediction model.
[0070] The embodiment of the present invention selects a prediction model in combination with height data, so that the target prediction model can accurately make corresponding adjustments for users of different heights, thereby improving the accuracy of the prediction results.
[0071] In one embodiment, before step S203, that is, before inputting the current relative force data into the trained target prediction model to obtain the spinal shape data of the user after a preset time, the method further includes:
[0072] A model matching the user's weight data is determined from the prediction model library as the target prediction model. Since different weights correspond to different spine lengths and stress levels, the applicable target prediction models are also different. Before predicting the spine shape data, the present invention also obtains the user's weight data to match the corresponding trained target prediction model.
[0073] Different training sets are set for different weight data, and prediction models related to weight data are obtained through training. The trained prediction models are stored in a prediction model library corresponding to the weight, and the prediction model library stores prediction models corresponding to each weight. When in use, the prediction model corresponding to the weight is matched from the prediction model library as the target prediction model. Among them, a certain range of weights in the prediction model library can correspond to a target prediction model.
[0074] If height and weight are selected, they need to be processed, for example, to calculate body fat percentage. A certain range of body fat percentage corresponds to a target prediction model.
[0075] The embodiment of the present invention selects the prediction model in combination with the weight data, so that the target prediction model can accurately make corresponding adjustments for users with different weights, thereby improving the accuracy of the prediction results.
[0076] In one embodiment, the sitting posture data includes pressure data of various parts of the user's body applied to the outside after the user sits down. After step S201, that is, after obtaining the user's sitting posture data, the following steps are also included:
[0077] Mapping the external pressure data of various parts of the user's body after the user sits down to the corresponding parts of the human body in the template including the human body structure to obtain a human body force image;
[0078] The human body force image is sent to a display device, and the display device is used to display the human body force image.
[0079] In the present invention, after obtaining the user's sitting posture data, the pressure data of various parts of the user's body after sitting can be mapped to the corresponding parts of the human body in the template including the human body structure by mapping and other methods, so as to obtain a human body force image, and then display it to form a visual image display. Among them, the computer device is connected to a corresponding display device, for example, the user's wearable device, mobile phone, etc., and the user's real-time human body force image can be viewed.
[0080] The embodiment of the present invention fuses the pressure data corresponding to the sitting posture with the human body image to form a human body force image, and displays it, so that the user can intuitively observe his or her own sitting posture and enhance the user experience.
[0081] In one embodiment, after step S202, that is, after the sitting posture data is input into the preset spinal force model to determine the current relative force data of each vertebra on the spine, the method further includes:
[0082] Obtain a spinal column image template, wherein the spinal column image template includes each vertebra of the spinal column and a corresponding marking frame;
[0083] The current relative force data of each vertebra is written into the marking frame of the corresponding vertebra in the spinal image template to obtain a spinal force image;
[0084] The spinal column stress image is sent to a display device, and the display device is used to display the spinal column stress image.
[0085] In the present invention, after obtaining the current relative force data of each vertebra, the relative force data can be written into the marking frame of the corresponding vertebra in the spinal image template to obtain a spinal force image, which is then displayed to form a visual image display. The computer device is connected to a corresponding display device, such as a wearable device, a mobile phone, etc. of the user, and the real-time spinal force image of the user can be viewed.
[0086] The embodiment of the present invention fuses the pressure data corresponding to the sitting posture with the spinal image to form a spinal force image and displays it, so that the user can intuitively observe his or her own sitting posture, improve the user's understanding of the sitting posture, and thus enhance the user experience.
[0087] In one embodiment, see Figure 3 , is a flow chart of a sitting posture analysis method based on artificial intelligence provided by the present invention, such as Figure 3 As shown, the sitting posture analysis method may include the following steps:
[0088] Step S301, when it is detected that the user is in a sitting state, the user's sitting posture data is obtained.
[0089] Step S302, input the sitting posture data into a preset spinal column stress model to determine the current relative stress data of each vertebra on the spine.
[0090] Step S303, inputting the current relative force data into the trained target prediction model to obtain the user's spine shape data after a preset time.
[0091] Step S304, performing data similarity matching between the spine shape data and existing spine shape data in the database, and determining that the spine morphology corresponding to the matched existing spine shape data is the spine morphology of the user after a preset time.
[0092] Among them, the contents of steps S301 to S304 are the same as those of the above-mentioned steps S201 to S204, and the description of steps S201 to S204 may be referred to, and will not be repeated here.
[0093] Step S305: when it is detected that the spinal morphology of the user is not the target morphology, a warning message is output.
[0094] The warning information may refer to information that can be output to a display device and present a warning to the user. The warning information includes a corresponding number or code. After the warning information is generated, it is stored in the row corresponding to the associated data in the above-mentioned associative database, so that the warning information is associated with the associated data.
[0095] The above-mentioned target form and standard state are both defined based on the form of the spine. When the form of the spine has not been deformed or is severely deformed, the form of the spine is the above-mentioned target form. When the form of the spine has not been deformed, the form of the spine is the above-mentioned standard state. In the present invention, the target form and the above-mentioned standard state can be the same state.
[0096] Step S306: when it is detected that the warning information is triggered, output the user's spine shape data.
[0097] The user's spinal morphology and spinal shape data are stored in a corresponding associative database to form a set of associated data. The above-mentioned computer device outputs the warning information to a display device to form a triggerable instruction. When the user triggers the instruction, the corresponding associated data is found from the above-mentioned associative database according to the number corresponding to the instruction (i.e. the number contained in the warning information), and the user's spinal shape data in the associated data is output to the corresponding display device for display, thereby helping the user to know the impact of his sitting posture on the spinal shape.
[0098] For example, a seat is provided, on which corresponding sensors are installed to detect pressure data of the user's waist, back, neck and buttocks after the user sits down. The seat is also provided with a controller and a touch screen. The controller is connected to the corresponding sensors, the touch screen and the above-mentioned computer device. The controller sends the sitting posture data collected by the sensor to the computer device. After the computer device executes the steps of the above-mentioned sitting posture analysis method, it outputs a warning message to the controller. The controller outputs the warning message to the touch screen. The user clicks on the warning message to form a trigger instruction. The controller sends the trigger instruction to the above-mentioned computer device. The computer device finds the corresponding associated data from the database according to the number information contained in the departure instruction, and sends the associated data to the controller. After corresponding processing, the controller outputs the user's spinal morphology and spinal shape data in the associated data to the touch screen for display.
[0099] The embodiment of the present invention inputs the collected sitting posture data of the user into a preset spinal force model, determines the current relative force data of each vertebra on the spine, inputs the current relative force data of each vertebra into a trained target prediction model, determines the spinal shape data after a preset time, matches the spinal shape data with the existing spinal shape data in the database for data similarity, determines that the spinal morphology corresponding to the matched existing spinal shape data is the spinal morphology of the user after the preset time, associates the spinal morphology with the spinal shape data and the generated warning information, outputs the warning information and when triggered, outputs the spinal morphology and the spinal shape data for display, which enables the user to intuitively observe whether there is a problem with his or her sitting posture, thereby helping to urge the user to form a good sitting posture.
[0100] In one embodiment, corresponding to the sitting posture analysis method of the above embodiment, Figure 4 The structural block diagram of the sitting posture analysis device based on artificial intelligence provided by the present invention is shown. The sitting posture analysis device can be applied to Figure 1 The server in the embodiment of the present invention is connected to a corresponding database by a computer device corresponding to the server to obtain corresponding data. For ease of description, only the parts related to the embodiment of the present invention are shown.
[0101] See also Figure 4 , the sitting posture analysis device comprises:
[0102] A sitting posture data acquisition module 41 is used to acquire the user's sitting posture data when it is detected that the user is in a sitting state;
[0103] A force data determination module 42 is used to input the sitting posture data into a preset spinal force model to determine the current relative force data of each vertebra on the spine;
[0104] The shape data prediction module 43 is used to input the current relative force data into the trained target prediction model to obtain the spinal shape data of the user after a preset time;
[0105] The spine shape determination module 44 is used to perform data similarity matching between the spine shape data and existing spine shape data in the database, and determine that the spine shape corresponding to the matched existing spine shape data is the spine shape of the user after a preset time.
[0106] In one embodiment, the trained target prediction model includes a trained displacement prediction model, and the shape data prediction module 43 includes:
[0107] A difference determination unit, used for comparing the current relative force data of each vertebra with the standard relative force data of the corresponding vertebra in the standard form, to determine the force difference data of each vertebra;
[0108] The displacement determination unit inputs the force difference data of each vertebra into the trained displacement prediction model to predict the displacement of each vertebra after a preset time;
[0109] The prediction unit is used to add the displacement of each vertebra to the relative position of the corresponding vertebra in the standard form, and determine that the relative position of each vertebra after the addition is the spinal shape data of the user after a preset time.
[0110] In one embodiment, the trained displacement prediction model includes trained displacement parameters, where the displacement parameters are unit displacement values per unit time under unit force, and the force difference data include the force value and force direction of each vertebra after comparison. The displacement determination unit includes:
[0111] The displacement value calculation subunit is used to multiply the force value of each vertebra by the preset time and the unit displacement value in the trained displacement prediction model, and determine the multiplication result as the displacement value of the corresponding vertebra;
[0112] The displacement determination subunit is used to take the force direction of each vertebra as the displacement direction of the displacement value of the corresponding vertebra, and determine the displacement of the corresponding vertebra as the corresponding displacement value and displacement direction.
[0113] In one embodiment, the sitting posture analysis device further includes:
[0114] The model determination module is used to determine a model that matches the user's weight data and / or height data from the prediction model library as the target prediction model before inputting the current relative force data into the trained target prediction model to obtain the user's spinal shape data after a preset time.
[0115] In one embodiment, the sitting posture analysis device further includes:
[0116] The template acquisition module is used to obtain a spine image template after inputting the sitting posture data into a preset spine force model and determining the current relative force data of each vertebra on the spine. The spine image template includes each vertebra of the spine and a corresponding marking frame;
[0117] The first image determination module is used to write the current relative force data of each vertebra into the marking frame corresponding to the vertebra in the spinal column image template to obtain a spinal column force image;
[0118] The first image output module is used to send the spinal stress image to a display device, and the display device is used to display the spinal stress image.
[0119] In one embodiment, the sitting posture data includes pressure data of various parts of the user's body when the user is sitting, and the sitting posture analysis device further includes:
[0120] The second image determination module is used to map the external pressure data of various parts of the user's body after the user sits down to the corresponding parts of the human body in the template including the human body structure, so as to obtain a human body force image;
[0121] The second image output module is used to send the human body force image to a display device, and the display device is used to display the human body force image.
[0122] In one embodiment, the sitting posture analysis device further includes:
[0123] A warning output module is used to match the spinal shape data with the existing spinal shape data in the database for data similarity, and after determining that the spinal shape corresponding to the matched existing spinal shape data is the spinal shape of the user after a preset time, output a warning message when it is detected that the spinal shape of the user is not a target shape;
[0124] The shape data output module is used to output the user's spine shape data when it is detected that the warning information is triggered.
[0125] It should be noted that the information interaction, execution process and other contents between the above modules are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0126] In one embodiment, Figure 5 The present invention provides a schematic diagram of the structure of a computer device. Figure 5 As shown, the computer device of this embodiment includes: at least one processor ( Figure 5 Only one is shown in the figure), a memory, and a computer program stored in the memory and executable on at least one processor, wherein when the processor executes the computer program, the steps of any of the above-mentioned sitting posture analysis method embodiments are implemented.
[0127] The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Figure 5 This is merely an example of a computer device and does not constitute a limitation on the computer device. The computer device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, it may also include a network interface, a display screen, and an input device.
[0128] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0129] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of a computer device, and the internal memory provides an environment for the operation of an operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of a computer device, and in other embodiments may also be an external storage device of a computer device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on a computer device. Further, the memory may also include both an internal storage unit of a computer device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of computer programs, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0130] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the above-mentioned method embodiment, which will not be repeated here. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiment can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0131] The present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiment when executing.
[0132] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0133] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0134] In the embodiments provided by the present invention, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0135] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0136] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A sitting posture analysis method based on artificial intelligence, characterized in that: include: When detecting that the user is in a sitting state, acquiring the sitting posture data of the user; Inputting the sitting posture data into a preset spinal column stress model to determine current relative stress data of each vertebra on the spine; Inputting the current relative force data into a trained target prediction model, and outputting the user's spine shape data after a preset time; The spinal column shape data is matched with existing spinal column shape data in a database for data similarity, and the spinal column morphology corresponding to the matched existing spinal column shape data is determined to be the spinal column morphology of the user after the preset time.
2. The sitting posture analysis method according to claim 1, characterized in that: The trained target prediction model includes a trained displacement prediction model, and the inputting of the current relative force data into the trained target prediction model to obtain the spinal shape data of the user after a preset time includes: Compare the current relative force data of each vertebra with the standard relative force data of the corresponding vertebra in the standard form to determine the force difference data of each vertebra; Input the force difference data of each vertebra into the trained displacement prediction model to predict the displacement of each vertebra after a preset time; The displacement of each vertebra is added to the relative position of the corresponding vertebra in the standard form, and the relative position of each vertebra after the addition is determined as the spinal shape data of the user after a preset time.
3. The sitting posture analysis method according to claim 2, characterized in that: The trained displacement prediction model includes trained displacement parameters, which are unit displacement values per unit time under unit force. The force difference data includes the force value and force direction of each vertebra after comparison. The force difference data of each vertebra is input into the trained displacement prediction model to predict the displacement of each vertebra after a preset time, including: The force value of each vertebra is multiplied by the preset time and the unit displacement value in the trained displacement prediction model, and the multiplication result is determined as the displacement value of the corresponding vertebra; The force direction of each vertebra is used as the displacement direction of the corresponding vertebra, and the displacement amount of the corresponding vertebra is determined as the corresponding displacement value and displacement direction.
4. The sitting posture analysis method according to any one of claims 1 to 3, characterized in that: Before inputting the current relative force data into the trained target prediction model to obtain the spinal shape data of the user after a preset time, the method further includes: A model matching the weight data and / or height data of the user is determined from the prediction model library as the target prediction model.
5. The sitting posture analysis method according to claim 1, characterized in that: After inputting the sitting posture data into a preset spinal force model to determine the current relative force data of each vertebra on the spine, the method further includes: Acquire a spinal column image template, wherein the spinal column image template includes each vertebra of the spinal column and a corresponding marking frame; Writing the current relative force data of each vertebra into the marking frame corresponding to the vertebra in the spinal image template to obtain a spinal force image; The spinal column stress image is sent to a display device, and the display device is used to display the spinal column stress image.
6. The sitting posture analysis method according to claim 1, characterized in that: The sitting posture data includes pressure data of various parts of the user's body when the user is sitting. After acquiring the sitting posture data of the user, the method further includes: Mapping the external pressure data of various parts of the user's body after the user sits down to the corresponding parts of the human body in the template including the human body structure to obtain a human body force image; The human body force image is sent to a display device, and the display device is used to display the human body force image.
7. The sitting posture analysis method according to claim 1, characterized in that: After matching the spinal shape data with the existing spinal shape data in the database for data similarity and determining that the spinal morphology corresponding to the matched existing spinal shape data is the spinal morphology of the user after the preset time, the method further includes: When it is detected that the user's spine shape is not the target shape, a warning message is output When it is detected that the warning information is triggered, the spine shape data of the user is output.
8. A sitting posture analysis device based on artificial intelligence, characterized in that: The sitting posture analysis device comprises: A sitting posture data acquisition module, used to acquire the user's sitting posture data when detecting that the user is in a sitting state, wherein the sitting posture data includes external pressure data of various parts of the user's body after the user sits; A force data determination module, used for inputting the sitting posture data into a preset spinal force model to determine the current relative force data of each vertebra on the spine; A shape data prediction module, used for inputting the current relative force data into a trained target prediction model, and outputting the user's spine shape data after a preset time; The spine morphology determination module is used to perform data similarity matching between the spine shape data and existing spine shape data in a database, and determine that the spine morphology corresponding to the matched existing spine shape data is the spine morphology of the user after the preset time.
9. A computer device, characterized in that: The computer device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the sitting posture analysis method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the sitting posture analysis method according to any one of claims 1 to 7 is implemented.
