A cloud fitness service method for a shared gym

By establishing cloud servers and physical layer equipment in shared gyms, and using Bluetooth communication and image analysis technology to identify users' muscle proportions and generate fitness plans, it solves the problem of existing shared gyms being unable to query fitness history data and provide guidance, and improves User’s fitness experience and data management efficiency.

CN112529567BActive Publication Date: 2024-09-27NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011064266.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-30
Publication Date
2024-09-27
Estimated Expiration
2040-09-30

AI Technical Summary

Technical Problem

Existing shared gym management methods cannot query fitness history data and cannot provide intuitive fitness guidance.

Method used

By establishing cloud servers and physical layer devices, including mobile phones, fitness bracelets and fitness equipment, using Bluetooth communication to obtain physical information and data, and setting up account management, equipment management, image analysis and video conferencing servers in the cloud server, through image analysis Identify muscle proportions, generate fitness plans, and provide payment and mall interface services.

Benefits of technology

It realizes users' fitness data management and intuitive guidance, corrects incorrect fitness plans, reduces the data throughput of the cloud server, and improves users' fitness experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112529567B
    Figure CN112529567B
Patent Text Reader

Abstract

The present invention discloses a cloud fitness service management method for a shared gym, relates to the technical field of big data, establishes a cloud server and a physical layer device, the physical layer device comprises a mobile phone, a fitness bracelet and fitness equipment; the mobile phone communicates with the fitness bracelet via Bluetooth, the fitness bracelet is used to collect the physical sign information of the wearer, the mobile phone establishes a link with the fitness equipment via Bluetooth, and obtains the data in the fitness equipment; the technical problem of guiding users to use fitness equipment in a cloud sharing manner is solved, the present invention adopts a picture analysis method to intuitively estimate the muscle proportion of the user, and establishes a correct fitness plan through the muscle proportion, which greatly facilitates the user's fitness experience, corrects the user's incorrect fitness plan, and the invention realizes the link between the fitness bracelet, the mobile phone and the fitness equipment via Bluetooth, thereby reducing the data throughput of the cloud server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to a cloud fitness service method for a shared fitness center. Background Art

[0002] The current shared fitness on the market has the following disadvantages:

[0003] 1. There are defects in the management method of fitness equipment. Users can only use fitness equipment but cannot query their own fitness history data;

[0004] 2. Users cannot directly get intuitive fitness guidance. Summary of the invention

[0005] The purpose of the present invention is to provide a cloud fitness service method for a shared gym, which solves the technical problem of guiding users to use fitness equipment in a cloud sharing manner.

[0006] To achieve the above object, the present invention adopts the following technical solutions:

[0007] A cloud fitness service method for a shared gym includes the following steps:

[0008] Step 1: Establish a cloud server and physical layer devices, including mobile phones, fitness bracelets and fitness equipment; the mobile phone communicates with the fitness bracelet via Bluetooth, the fitness bracelet is used to collect the wearer's physical signs information, and the mobile phone establishes a link with the fitness equipment via Bluetooth to obtain the data in the fitness equipment;

[0009] The mobile phone communicates with the cloud server via the Internet, and the fitness equipment communicates with the cloud server via the Internet;

[0010] Establish an account management server, equipment management server, image analysis server, fitness database, video conferencing server and mall interface server in the cloud server;

[0011] Step 2: The user sends registration information to the account management server via mobile phone. The account management server opens an account for the user's mobile phone and records the consumption record.

[0012] The registration information includes the user's basic personal information;

[0013] Step 3: The equipment management server assigns IDs to all fitness equipment and generates a QR code based on the ID. The QR code is displayed on the LCD screen of the fitness equipment. The user uses his or her mobile phone to scan the code to enter the payment interface provided by the equipment management server to make payment.

[0014] Step 4: The equipment management server sends the user's payment information to the account management server. The account management server verifies the user's basic personal information and then deducts the fee from the user's account;

[0015] Step 5: The user takes a picture of a certain area of ​​his body through his mobile phone and sends the picture of the area to the cloud server through the mobile phone;

[0016] The cloud server analyzes the pictures sent by the user through a neural network, identifies the muscle proportions on the user's body, and sends the muscle proportions to the fitness database for storage;

[0017] Step 6: The fitness database compares the muscle ratio with the preset comparison list, finds out the training plan corresponding to the user's muscle ratio value, and sends the training plan to the image analysis server, which sends the training plan to the mobile phone for the user's reference;

[0018] Step 7: The user selects a personal trainer through the mobile phone, and the mobile phone sends the user's selection information to the cloud server. After the account management server in the cloud server verifies the user's basic information, it sends a key to the user's mobile phone. The user obtains the personal trainer's teaching video in the video conferencing server based on the key;

[0019] Step 8: The mall interface server is used to establish a link for the third-party mall website and display the products displayed on the third-party mall website to the mobile phone.

[0020] Preferably, the fitness equipment is a smart fitness equipment equipped with a Bluetooth module, which is used to obtain the user's exercise time and burned calories on the equipment;

[0021] The fitness bracelet is a smart bracelet used to collect the wearer's heart rate data and body temperature data.

[0022] Preferably, the QR code is also affixed to the fitness equipment in the form of a label.

[0023] Preferably, when executing step 6, the following steps are specifically included:

[0024] Step A1: The image analysis server obtains the image sent by the user, performs mixed Gaussian background modeling, image filtering and denoising, and obtains a grayscale image;

[0025] Step A2: setting a fixed size of the block area, and using the block area to process the grayscale image into blocks to obtain n block areas;

[0026] Step A3: In each block area, pixel grayscale recognition is performed according to the neural network to obtain the grayscale boundary line in the area;

[0027] Step A4: splicing the grayscale boundary lines obtained in all the block areas to obtain muscle boundary lines and human body boundary lines;

[0028] Step A5: projecting the muscle boundary line and the human body boundary line on mathematical plane a, and correcting the muscle boundary line and the human body boundary line to make them approximate to two ellipses, setting the ellipse projected by the muscle boundary line as the muscle projection circle, and the ellipse projected by the human body boundary line as the human body projection circle;

[0029] Step A6: Calculate the areas of the muscle projection circle and the human body projection circle respectively, and simultaneously calculate the ratio of the areas of the muscle projection circle and the human body projection circle to obtain the muscle ratio.

[0030] Preferably, when executing step 3 and step 4, the following steps are specifically included:

[0031] Step B1: The mobile phone scans the QR code to open the payment interface and make payment;

[0032] Step B2: After the equipment management server obtains the payment information of the mobile phone, it sends the payment information to the account management server. The account management server verifies the basic personal information of the mobile phone. After successful verification, it deducts the fee from the user account and sends a payment success message to the equipment management server, and executes step B3; otherwise, it sends a payment failure message to the equipment management server and executes step B9;

[0033] Step B3: The account management server sends a key to the user's mobile phone. After the mobile phone obtains the key, it sends the key, its own Bluetooth ID and the Bluetooth ID of the fitness bracelet to the equipment management server;

[0034] Step B4: After the equipment management server obtains and verifies the key, it sends the key, the Bluetooth ID of the mobile phone and the Bluetooth ID of the fitness bracelet to the fitness equipment;

[0035] Step B5: After the fitness equipment verifies the key, it establishes a link with the mobile phone and the fitness bracelet through the Bluetooth ID of the mobile phone and the Bluetooth ID of the fitness bracelet respectively;

[0036] Step B6: The mobile phone or fitness bracelet obtains the data of the fitness equipment via Bluetooth, and the data of the fitness equipment includes the user's usage time and the calorie value burned;

[0037] Step B7: the fitness bracelet detects whether it is connected to the mobile phone through Bluetooth: if yes, the acquired data of the fitness equipment is sent to the mobile phone; if no, execute step B6;

[0038] Step B8: The mobile phone sends the data of the fitness equipment to the cloud server, and the cloud server stores the data of the fitness equipment in the fitness database;

[0039] Step B9: End.

[0040] The cloud fitness service method for a shared gym described in the present invention solves the technical problem of guiding users to use fitness equipment in a cloud sharing manner. The present invention uses image analysis to intuitively estimate the user's muscle proportions and establishes a correct fitness plan based on the muscle proportions, which greatly facilitates the user's fitness experience and corrects the user's incorrect fitness plan. The invention also realizes the connection between fitness bracelets, mobile phones and fitness equipment through Bluetooth, reducing the data throughput of the cloud server. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is the data flow diagram of the present invention;

[0042] Figure 2 is a flow chart of step 6 of the present invention;

[0043] Figure 3 is a flow chart of steps 3 and 4 of the present invention;

[0044] Figure 4 is a schematic diagram of the image block area of ​​this embodiment;

[0045] Figure 5 is a schematic projection diagram on plane a of this embodiment;

[0046] Figure 6 It is a flow chart of finding the training program corresponding to the user's muscle ratio value in this embodiment. DETAILED DESCRIPTION

[0047] like Figure 1-Figure 6 A cloud fitness service method for a shared gym is shown, comprising the following steps:

[0048] Step 1: Establish a cloud server and physical layer devices, including mobile phones, fitness bracelets and fitness equipment; the mobile phone communicates with the fitness bracelet via Bluetooth, the fitness bracelet is used to collect the wearer's physical signs information, and the mobile phone establishes a link with the fitness equipment via Bluetooth to obtain the data in the fitness equipment;

[0049] The mobile phone communicates with the cloud server via the Internet, and the fitness equipment communicates with the cloud server via the Internet;

[0050] Establish an account management server, equipment management server, image analysis server, fitness database, video conferencing server and mall interface server in the cloud server;

[0051] Step 2: The user sends registration information to the account management server via mobile phone. The account management server opens an account for the user's mobile phone and records the consumption record.

[0052] The registration information includes the user's basic personal information;

[0053] Step 3: The equipment management server assigns IDs to all fitness equipment and generates a QR code based on the ID. The QR code is displayed on the LCD screen of the fitness equipment. The user uses his or her mobile phone to scan the code to enter the payment interface provided by the equipment management server to make payment.

[0054] Step 4: The equipment management server sends the user's payment information to the account management server. The account management server verifies the user's basic personal information and then deducts the fee from the user's account;

[0055] Step 5: The user takes a picture of a certain area of ​​his body through his mobile phone and sends the picture of the area to the cloud server through the mobile phone;

[0056] The cloud server analyzes the pictures sent by the user through a neural network, identifies the muscle proportions on the user's body, and sends the muscle proportions to the fitness database for storage;

[0057] Step 6: The fitness database compares the muscle ratio with the preset comparison list, finds out the training plan corresponding to the user's muscle ratio value, and sends the training plan to the image analysis server, which sends the training plan to the mobile phone for the user's reference;

[0058] In this embodiment, the training program corresponding to the user's muscle ratio value is found according to the following steps:

[0059] Step S1: The fitness database divides the human body into several body types according to muscle ratio, counts the muscle ratios of all users, establishes a population classification database, and classifies people with similar muscle ratios into the same body type;

[0060] In this embodiment, the muscle ratio is divided into several categories: thin, thin, normal, slightly fat, fat, and obese. The classification standard is divided according to the size of the muscle ratio according to the preset threshold;

[0061] Step S2: establishing a stage fitness program library for each body type classification. In this embodiment, for a body type classification of thin, fitness is divided into four stages, namely aerobic exercise, warm-up, fat burning and muscle building, and a fitness program is configured for each stage;

[0062] Step S3: recommend different fitness equipment to the user according to the stage fitness program library;

[0063] Step S4: recommending fitness plans and fitness data of people with similar body shapes to the user for reference according to the population classification database;

[0064] Step S5: Obtain the user's fitness fat burning data for the day, and adjust the fitness plan according to the fitness fat burning data. In this embodiment, when the user is in the fat burning stage, the user's fat burning data, that is, the exercise time and the value of burned calories, are collected in real time. When the maximum fat burning value of the day is reached, it is recommended that the user change fitness equipment; the maximum fat burning value of the day is preset in the fitness plan;

[0065] Step S6: According to the population classification database, a communication group is established for each body type classification, and a communication group matching the body type of the user is recommended to the user.

[0066] Step 7: The user selects a personal trainer through the mobile phone, and the mobile phone sends the user's selection information to the cloud server. After the account management server in the cloud server verifies the user's basic information, it sends a key to the user's mobile phone. The user obtains the personal trainer's teaching video in the video conferencing server based on the key;

[0067] Step 8: The mall interface server is used to establish a link for the third-party mall website and display the products displayed on the third-party mall website to the mobile phone.

[0068] Preferably, the fitness equipment is a smart fitness equipment equipped with a Bluetooth module, which is used to obtain the user's exercise time and burned calories on the equipment;

[0069] The fitness bracelet is a smart bracelet used to collect the wearer's heart rate data and body temperature data.

[0070] Preferably, the QR code is also affixed to the fitness equipment in the form of a label.

[0071] Preferably, when executing step 6, the following steps are specifically included:

[0072] Step A1: The image analysis server obtains the image sent by the user, performs mixed Gaussian background modeling, image filtering and denoising, and obtains a grayscale image;

[0073] Step A2: setting a fixed size of the block area, and using the block area to process the grayscale image into blocks to obtain n block areas;

[0074] Step A3: In each block area, pixel grayscale recognition is performed according to the neural network to obtain the grayscale boundary line in the area;

[0075] Step A4: splicing the grayscale boundary lines obtained in all the block areas to obtain muscle boundary lines and human body boundary lines;

[0076] Step A5: projecting the muscle boundary line and the human body boundary line on mathematical plane a, and correcting the muscle boundary line and the human body boundary line to make them approximate to two ellipses, setting the ellipse projected by the muscle boundary line as the muscle projection circle, and the ellipse projected by the human body boundary line as the human body projection circle;

[0077] Step A6: Calculate the areas of the muscle projection circle and the human body projection circle respectively, and simultaneously calculate the ratio of the areas of the muscle projection circle and the human body projection circle to obtain the muscle ratio.

[0078] like Figure 4 As shown, it is a picture sent by the user of this embodiment, wherein k1 and kn are both block regions, and the value of n is a positive integer. By blocking the picture, the picture is divided into n regions, and the size of each region is the same.

[0079] like Figure 5 , which is a schematic diagram of the projection of the muscle demarcation line and the human body demarcation line on the mathematical plane a in this embodiment, wherein L1 is the area included by the human body demarcation line in the picture, L2 is the area included by the muscle demarcation line, La1 is the projection of L1 on the a plane, and is corrected to an ellipse; La2 is the projection of L2 on the a plane, and is corrected to an ellipse;

[0080] k1 to kn are the block areas in the image, and km1 is the projection of k1 on plane a;

[0081] By correcting L1 and L2 on the a plane to make them elliptical, the calculation of their projection area is greatly facilitated and the calculation speed is improved.

[0082] The present invention estimates the proportion of human muscles by calculating the proportion of the areas of two projected circles. The calculation speed is fast, which greatly facilitates the estimation of one's own physique.

[0083] Preferably, when executing step 3 and step 4, the following steps are specifically included:

[0084] Step B1: The mobile phone scans the QR code to open the payment interface and make payment;

[0085] Step B2: After the equipment management server obtains the payment information of the mobile phone, it sends the payment information to the account management server. The account management server verifies the basic personal information of the mobile phone. After successful verification, it deducts the fee from the user account and sends a payment success message to the equipment management server, and executes step B3; otherwise, it sends a payment failure message to the equipment management server and executes step B9;

[0086] Step B3: The account management server sends a key to the user's mobile phone. After the mobile phone obtains the key, it sends the key, its own Bluetooth ID and the Bluetooth ID of the fitness bracelet to the equipment management server;

[0087] Step B4: After the equipment management server obtains and verifies the key, it sends the key, the Bluetooth ID of the mobile phone and the Bluetooth ID of the fitness bracelet to the fitness equipment;

[0088] Step B5: After the fitness equipment verifies the key, it establishes a link with the mobile phone and the fitness bracelet through the Bluetooth ID of the mobile phone and the Bluetooth ID of the fitness bracelet respectively;

[0089] Step B6: The mobile phone or fitness bracelet obtains the data of the fitness equipment via Bluetooth, and the data of the fitness equipment includes the user's usage time and the calorie value burned;

[0090] Step B7: the fitness bracelet detects whether it is connected to the mobile phone through Bluetooth: if yes, the acquired data of the fitness equipment is sent to the mobile phone; if no, execute step B6;

[0091] Step B8: The mobile phone sends the data of the fitness equipment to the cloud server, and the cloud server stores the data of the fitness equipment in the fitness database;

[0092] Step B9: End.

[0093] The cloud fitness service method for a shared gym described in the present invention solves the technical problem of guiding users to use fitness equipment in a cloud sharing manner. The present invention uses image analysis to intuitively estimate the user's muscle proportions and establishes a correct fitness plan based on the muscle proportions, which greatly facilitates the user's fitness experience and corrects the user's incorrect fitness plan. The invention also realizes the connection between fitness bracelets, mobile phones and fitness equipment through Bluetooth, reducing the data throughput of the cloud server.

Claims

1. A cloud fitness service method for a shared gym, characterized in that: The steps include: Step 1: Establish a cloud server and physical layer devices, including mobile phones, fitness bracelets and fitness equipment; the mobile phone communicates with the fitness bracelet via Bluetooth, the fitness bracelet is used to collect the wearer's physical signs information, and the mobile phone establishes a link with the fitness equipment via Bluetooth to obtain the data in the fitness equipment; The mobile phone communicates with the cloud server via the Internet, and the fitness equipment communicates with the cloud server via the Internet; Establish an account management server, equipment management server, image analysis server, fitness database, video conferencing server and mall interface server in the cloud server; Step 2: The user sends registration information to the account management server via mobile phone. The account management server opens an account for the user's mobile phone and records the consumption record. The registration information includes the user's basic personal information; Step 3: The equipment management server assigns IDs to all fitness equipment and generates a QR code based on the ID. The QR code is displayed on the LCD screen of the fitness equipment. The user uses his or her mobile phone to scan the code to enter the payment interface provided by the equipment management server to make payment. Step 4: The equipment management server sends the user's payment information to the account management server. After verifying the user's basic personal information, the account management server deducts the fee from the user's account; Step 5: The user takes a picture of a certain area of ​​his body through his mobile phone and sends the picture of the area to the cloud server through the mobile phone; The cloud server analyzes the pictures sent by the user through a neural network, identifies the muscle proportions on the user's body, and sends the muscle proportions to the fitness database for storage; Step 6: The fitness database compares the muscle ratio with the preset comparison list, finds out the training plan corresponding to the user's muscle ratio value, and sends the training plan to the image analysis server, which sends the training plan to the mobile phone for the user's reference; The specific steps include: Step A1: The image analysis server obtains the image sent by the user, performs mixed Gaussian background modeling, image filtering and denoising, and obtains a grayscale image; Step A2: setting a fixed size of the block area, and using the block area to process the grayscale image into blocks to obtain n block areas; Step A3: In each block area, pixel grayscale recognition is performed according to the neural network to obtain the grayscale boundary line in the area; Step A4: splicing the grayscale boundary lines obtained in all the block areas to obtain muscle boundary lines and human body boundary lines; Step A5: projecting the muscle boundary line and the human body boundary line on mathematical plane a, and correcting the muscle boundary line and the human body boundary line to make them approximate to two ellipses, setting the ellipse projected by the muscle boundary line as the muscle projection circle, and the ellipse projected by the human body boundary line as the human body projection circle; Step A6: Calculate the areas of the muscle projection circle and the human body projection circle respectively, and simultaneously calculate the ratio of the areas of the muscle projection circle and the human body projection circle to obtain the muscle ratio; Follow these steps to find the training plan that corresponds to your muscle ratio: Step S1: The fitness database divides the human body into several body types according to muscle ratio, counts the muscle ratios of all users, establishes a population classification database, and classifies people with similar muscle ratios into the same body type; The muscle ratio is divided into several categories: thin, slightly thin, normal, slightly fat, fat, and obese. The classification standard is divided according to the size of the muscle ratio according to the preset threshold; Step S2: Establish a stage fitness program library for each body type classification. For example, for a body type classification of thin, fitness is divided into four stages, namely aerobic exercise, warm-up, fat burning and muscle building, and a fitness program is configured for each stage; Step S3: recommend different fitness equipment to the user according to the stage fitness program library; Step S4: recommending fitness plans and fitness data of people with similar body shapes to the user for reference according to the population classification database; Step S5: Obtain the user's fitness fat burning data for the day, and adjust the fitness plan according to the fitness fat burning data. When the user is in the fat burning stage, the user's fat burning data, that is, the exercise time and the value of burned calories, are collected in real time. When the maximum fat burning value of the day is reached, it is recommended that the user change fitness equipment; the maximum fat burning value of the day is preset in the fitness plan; Step S6: establishing a communication group for each body type classification according to the population classification database, and recommending a communication group that matches the user's body type to the user; Step 7: The user selects a personal trainer through the mobile phone, and the mobile phone sends the user's selection information to the cloud server. After the account management server in the cloud server verifies the user's basic information, it sends a key to the user's mobile phone. The user obtains the personal trainer's teaching video in the video conferencing server based on the key; Step 8: The mall interface server is used to establish a link for the third-party mall website and display the products displayed on the third-party mall website to the mobile phone.

2. A cloud fitness service method for a shared gym as claimed in claim 1, characterized in that: The fitness equipment is a smart fitness equipment equipped with a Bluetooth module, which is used to obtain the user's exercise time and burned calories on the equipment; The fitness bracelet is a smart bracelet used to collect the wearer's heart rate data and body temperature data.

3. A cloud fitness service method for a shared gym as claimed in claim 1, characterized in that: The two-dimensional code is also attached to the fitness equipment in the form of a label.

4. A cloud fitness service method for a shared gym as claimed in claim 1, characterized in that: When executing step 3 and step 4, the specific steps include: Step B1: The mobile phone scans the QR code to open the payment interface and make payment; Step B2: After the equipment management server obtains the payment information of the mobile phone, it sends the payment information to the account management server. The account management server verifies the basic personal information of the mobile phone. After successful verification, it deducts the fee from the user account and sends a payment success message to the equipment management server, and executes step B3; otherwise, it sends a payment failure message to the equipment management server and executes step B9; Step B3: The account management server sends a key to the user's mobile phone. After the mobile phone obtains the key, it sends the key, its own Bluetooth ID and the Bluetooth ID of the fitness bracelet to the equipment management server; Step B4: After the equipment management server obtains and verifies the key, it sends the key, the Bluetooth ID of the mobile phone and the Bluetooth ID of the fitness bracelet to the fitness equipment; Step B5: After the fitness equipment verifies the key, it establishes a link with the mobile phone and the fitness bracelet through the Bluetooth ID of the mobile phone and the Bluetooth ID of the fitness bracelet respectively; Step B6: The mobile phone or fitness bracelet obtains the data of the fitness equipment via Bluetooth, and the data of the fitness equipment includes the user's usage time and the calorie value burned; Step B7: the fitness bracelet detects whether it is connected to the mobile phone through Bluetooth: if yes, the acquired data of the fitness equipment is sent to the mobile phone; No, go to step B6; Step B8: The mobile phone sends the data of the fitness equipment to the cloud server, and the cloud server stores the data of the fitness equipment in the fitness database; Step B9: End.