Physical fitness information collection system for fitness equipment based on API connection
Through the fitness equipment system based on API connection, the sports and health data of training personnel are collected and analyzed, which solves the problems of inaccurate data collection and difficulty in formulating personalized training plans in the existing technology, and realizes efficient collection and personalization of physical fitness information. Development of training plan.
Patent Information
- Application Number
- CN202110761442.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-06
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-07-06
AI Technical Summary
Existing fitness equipment is labor-intensive and inaccurate when recording training data, and cannot collect physical information of training personnel in real time, making it difficult for coaches to formulate personalized training plans, resulting in poor training results.
Design a physical information collection system for fitness equipment based on API connection, including an information collection unit, an information collection unit, a functional unit and a data monitoring unit. It collects sports and health data through acceleration sensors, temperature sensors and microcontroller modules to perform in-depth matching and Analyze and generate training plans.
It realizes the collection and quantitative assessment of physical fitness information of training personnel, provides personalized training plans, and improves the flexibility and efficiency of training effects and data management.
Smart Images

Figure CN113707250B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information collection, and in particular to a physical fitness information collection system for fitness equipment based on API connection. Background Art
[0002] With the rapid development of social economy, people's living standards have been greatly improved. More and more people are going to the gym to keep fit and relieve stress. In recent years, with the development of high-tech, especially the combination of Internet of Things technology, sensor technology and embedded technology, fitness has become more convenient and intelligent. However, the current fitness equipment is not very intelligent and networked. It often uses person-to-person meter reading and measurement to record the training data of trainees. It is not possible to collect the physical information of trainees when they use fitness equipment, resulting in high labor intensity and inaccurate information collection. It is also inconvenient for coaches to formulate appropriate training plans for different trainees. It is blind and prevents trainees from achieving the expected results. In view of this, we propose a physical information collection system for fitness equipment based on API connection. Summary of the invention
[0003] The purpose of the present invention is to provide a physical fitness information collection system for fitness equipment based on API connection to solve the problems raised in the above background technology.
[0004] To achieve the above-mentioned purpose, the present invention provides a fitness equipment physical fitness information collection system based on API connection, comprising
[0005] It includes an information acquisition unit, an information collection unit, a functional unit and a data monitoring unit;
[0006] The information collection unit is responsible for data collection, acquisition and transmission of the collector's identity information, human health information and movement information;
[0007] The information collection unit is used to receive and forward the data collected by the information collection unit;
[0008] The functional unit is used to implement the functions of storing, querying and analyzing the motion data, and deeply matching the motion data with human health information, and then providing statistical feedback;
[0009] The data monitoring unit is used to monitor and transmit the data of the functional unit;
[0010] The deep matching of the motion data with the human health information comprises the following steps:
[0011] Collecting motion data information, classifying the motion data and assigning classification numbers;
[0012] Combining the assigned classification number with the collector's identity information and generating a first report file;
[0013] Extracting age data from the identity information, and matching the motion threshold information of the corresponding classification number from the Internet according to the age data;
[0014] Compare the motion data information under each classification number with the motion threshold information, generate a standard value in a binary manner, and combine the classification number with the standard value to generate a second report file;
[0015] Searching for disease potential data on the Internet according to the qualified values in the second report file, and combining the disease potential data with the identity information of the collector to generate a third report file;
[0016] Rehabilitation exercises are searched on the Internet according to the disease risk data in the third report file, classification numbers are regenerated for the rehabilitation exercises, and the regenerated classification numbers are combined with the collector's identity information to generate a training plan file.
[0017] As a further improvement of the technical solution, the information acquisition unit includes a microcontroller module, an acceleration sensor module, a temperature sensor module and a power supply module;
[0018] The microcontroller module is used for the configuration of sensor parameters, the initialization and operation of the protocol stack program, and the reading and sending of data. It is responsible for the initialization and operation of the protocol stack program, the establishment and binding of the network, and the reception of data. It also processes the received data and sends it to the PC serial port debugging software through the serial port. The program flow of the microcontroller module is as follows:
[0019] ①、Protocol stack task initialization, protocol stack task initialization function osalInitTasks(), the program segment is as follows:
[0020] void osalInitTasks( void )
[0021] {
[0022] uint8 taskID= 0;
[0023] tasksEvents = (uint16 *)osal_ mem_ alloc( sizeof( uint16 ) *tasksCnt);
[0024] osal_ memset( tasksEvents, 0, (sizeof( uint16 ) * tasksCnt));
[0025] macTaskInit( taskID++ );
[0026] nwk_init(taskID++);
[0027] Hal_ _Init( taskID++ );
[0028] APS_ Init( taskID++ );
[0029] ZDApp_ Init( taskID++ );
[0030] SAPI_ SJCJ_ _Init( taskID ); / / Data collection task
[0031] };
[0032] ②, the operating system is running, the execution of the entire operating system will be through the call function osalstartsystem(), the key program in this function
[0033] do {
[0034] if (tasksEvents[idx]) / / Select the highest priority task
[0035] {
[0036] break;
[0037] }
[0038] } while (++idx < tasksCnt);
[0039] if (idx < tasksCnt)
[0040] {
[0041] uint16 events;
[0042] halIntState_ _t intState;
[0043] events = tasksEvents[idx]; / Get task events
[0044] tasksEvents[idx] = 0; / / Clear the task event flag that has been taken out
[0045] events = (tasksAr[idx])( idx, events ); / / Call the corresponding event processing function
[0046] tasksEvents[idx] |= events; / / Save unprocessed events
[0047] };
[0048] The acceleration sensor module is used to detect acceleration data when a human body moves;
[0049] The temperature sensor module is used to monitor human body temperature. When using fitness equipment, the temperature change of the human body can be monitored. The temperature sensor module uses a temperature sensor that can sense the temperature and convert it into a usable output signal.
[0050] The power supply module is used to increase the energy of the microcontroller module, the acceleration sensor module and the temperature sensor module.
[0051] As a further improvement of the technical solution, the microcontroller module adopts a CC2530 module. The implementation of the CC2530 module includes a CC2530 chip, a clock, an antenna matching circuit and an I / 0 interface. The implementation of the circuit is mainly clock setting and antenna matching. Clock setting: The CC2530 microcontroller has 16MHz and 32.768KHz RC oscillation circuits, and a 32MHz clock frequency is required when sending data. Antenna implementation: The antenna implementation uses an inverted F PCB antenna, which needs to be used in combination with a balun matching circuit.
[0052] As a further improvement of the technical solution, the acceleration sensor module adopts 3D acceleration sensor ADXL345, CC2530 is the main control chip, and the radio frequency transmission circuit is integrated inside the chip. Therefore, the composition of this part can be divided into ADXL345 and peripheral circuits, CC2530 and peripheral circuits, buttons and power supply circuits. As shown in the figure, the microprocessor and the sensor are used in combination, and both devices support the synchronous serial SPI interface. Therefore, ADXL345 adopts the SPI four-wire structure. In this structure, the sensor is used as a slave and the main controller is used as a host, so the sensor data output port (SDO) is connected to the controller input port (P0.2), and the sensor data input port (SDI) is connected to the controller output port (P0.3). Because it is synchronous transmission, the slave and the host have a common clock frequency, so the sensor clock port (SCLK) is connected to the controller clock port (P0.5), and the chip select terminal (CS) needs to be connected to the controller (P0.4), otherwise it cannot work normally.
[0053] As a further improvement of the technical solution, the temperature sensor module calculation formula is as follows:
[0054] T = k(λ-λ0) + T0
[0055] Where k is the temperature coefficient, λ is the current wavelength of the grating, and T is the current temperature.
[0056] As a further improvement of the technical solution, the information collection unit includes a serial port module, a display module and a Debug interface module;
[0057] The serial port module is used to receive data and then transmit the data one by one in sequence. The communication line is simple, and two-way communication can be achieved with only one pair of transmission lines, which greatly reduces the cost and is particularly suitable for long-distance communication, but the transmission speed is slow;
[0058] The display module is used to display data on the display screen, so as to facilitate the observation of people's exercise data of the fitness equipment at any time;
[0059] The Debug interface module is used to debug the data of the serial port module.
[0060] The detailed design of the information collection unit program is as follows:
[0061] ①. Establish a network. After the node is powered on, it starts as a coordinator type, runs the protocol stack and selects a channel, a network identifier and a short address according to the software settings. In this way, a network is established. At this time, other nodes will automatically join the network after starting up and be assigned a unique short address from the coordinator node. After completion, the information collection unit sends a binding request to the coordinator and binds to the coordinator if the coordinator allows it;
[0062] ②. Receive data and send it to the computer. The prototype of the function for receiving data is:
[0063] void zb_ ReceiveDataIndication( uint16 source, uint1 6 command, uint8* pData )
[0064] {
[0065] gtwData.parent
[0066] =
[0067] BUILD_ UINTI6(pData[SENSOR_ PARENT_ _OFFSET+1],
[0068] pData[SENSOR_ PARENT_ OFFSET]); / Parent node short address
[0069] gtwData. source source; 1 / 1 source node short address
[0070] gtwData.temp=* pData; / High 8 bits of temperature data
[0071] gtwData.voltage=*(pData+l); / voltage data
[0072] gtwData.temp_ _2=*(pData+SENSOR_ TEMP2_ OFFSET); / / low eight bits of temperature data
[0073] gtwData.X_ Sensor=*(pData+SENSOR_ X_ OFFSET); / / X-axis data
[0074] gtwData.Y_ _Sensor=*(pData+SENSOR_ Y_ OFFSET); / / Y-axis data
[0075] gtwData.Z_ Sensor=*(pData+SENSOR_ Z OFFSET); / / Z-axis data
[0076] HalLedSet( HAL_ LED_ 2, HAL LED_ MODE_ FLASH ); / / LED2 flashes once
[0077] sendGtwReport(>wData); / / Call the serial port sending function
[0078] }.
[0079] As a further improvement of this technical solution, the function
[0080] The functional unit includes a login module, a training plan management module, a training performance management module and a query statistics analysis module;
[0081] The login module is used to complete the login and authority configuration of trainers and coaches;
[0082] The training plan management module is used to formulate training plans and perform diagnosis and prediction analysis based on disease potential data, so as to better obtain the physical fitness information of the trainees using fitness equipment;
[0083] The training performance management module is used to record the training data of the trainees using the fitness equipment;
[0084] The query statistics analysis module is used to query the training results of the fitness equipment and analyze the physique of the trainees;
[0085] The diagnosis prediction analysis based on the disease hidden danger data adopts the calculation of the input and output of each prediction neuron in the hidden layer: specifically:
[0086] ;
[0087] ;
[0088] ;
[0089] ;
[0090] in, For the hidden layer input vector; Predict the total number of neurons in the hidden layer; Predict the total number of neurons for the input layer; Predict the total number of neurons for the output layer; is the connection weight between the input layer and the hidden layer; is the threshold value of each prediction neuron in the hidden layer; is the input vector; For the Hidden layer output vector; For the Output layer input vector; is the connection weight between the hidden layer and the output layer; is the threshold value of each prediction neuron in the output layer; Output vector for the output layer.
[0091] As a further improvement of the present technical solution, the training data of the training performance management module includes the trainer's name, equipment number, serial number, weight, stretching position and time, so as to better calculate and collect the trainer's physique.
[0092] As a further improvement of the technical solution, the data monitoring unit includes a database module, a data access module and a data transmission module;
[0093] The database module is used to store and manage the training data of the trainers, and can conveniently classify and manage the training data, making the data more convenient, flexible and efficient to use. At the same time, the use of MySQL database can reduce costs, reduce the investment cost of users, and improve the economic benefits of the system;
[0094] The data access module is used to transmit the data of the database module to the client;
[0095] The data transmission module is used to realize diverse display of data and integration of different data sources, interact with other systems, and realize data sharing.
[0096] As a further improvement of the technical solution, the data access module adopts the API interface of JDBC technology, which is a universal standard API interface for external programs to access. The JDBC technology includes the following aspects:
[0097] Position 1: C / S mode, the client's Java code directly establishes a connection with the database module through the JDBC interface, and the server sends the processed data back to the client through the JDBC interface;
[0098] Posture 2, B / S mode, the user's data request is first submitted to the server, the server forwards the received message to the back-end database module through the JDBC interface, extracts the corresponding data from the database module and returns it, the returned result is sent to the server through the JDBC interface, the server forwards it to the client, and the client parses and displays the received information.
[0099] Compared with the prior art, the present invention has the following beneficial effects:
[0100] 1. In the physical fitness information collection system for fitness equipment based on API connection, by setting up an information collection unit, the health information and exercise information of the human body can be collected through the movement trajectory of the fitness equipment, and the acquisition and transmission of the health information and exercise information of the human body can realize the quantification of human movement, and then the amount of human exercise can be evaluated, which has certain significance for people's exercise guidance.
[0101] 2. In the physical fitness information collection system for fitness equipment based on API connection, the functions of storage, query and analysis of sports data are realized by setting functional units, so as to facilitate the query of training results of fitness equipment and the formulation of appropriate training plans. The data monitoring module classifies and manages the training data, making the data use more convenient, flexible and efficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0102] Figure 1 This is the overall principle block diagram of Example 1;
[0103] Figure 2 This is a principle block diagram of the information collection unit of Example 1;
[0104] Figure 3 This is a principle block diagram of the information collection unit of Example 1;
[0105] Figure 4 This is a functional unit principle block diagram of Example 1;
[0106] Figure 5 This is a principle block diagram of a data monitoring unit in Example 1;
[0107] Figure 6This is a schematic diagram of the acceleration sensor module circuit of Example 1.
[0108] The meaning of each number in the figure is:
[0109] 100, information acquisition unit; 110, microcontroller module; 120, acceleration sensor module; 130, temperature sensor module; 140, power supply module;
[0110] 200, information collection unit; 210, serial port module; 220, display module; 230, debug interface module;
[0111] 300, functional unit; 310, login module; 320, training plan management module; 330, training results management module; 340, query statistics analysis module;
[0112] 400, data monitoring unit; 410, database module; 420, data access module; 430, data transmission module. DETAILED DESCRIPTION
[0113] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0114] See also Figure 1-Figure 6 As shown, this embodiment provides a physical fitness information collection system for fitness equipment based on API connection, including
[0115] Information acquisition unit 100, information collection unit 200, function unit 300 and data monitoring unit 400;
[0116] The information collection unit 100 is responsible for data collection, acquisition and transmission of the collector's identity information, human health information and movement information;
[0117] The information collection unit 200 is used to receive and forward the data collected by the information collection unit 100;
[0118] Functional unit 300 is used to implement the functions of storing, querying and analyzing sports data, and deeply matching sports data with human health information, and then providing statistical feedback;
[0119] The data monitoring unit 400 is used to monitor and transmit the data of the functional unit 300;
[0120] Deep matching of exercise data with human health information includes the following steps:
[0121] Collecting motion data information, classifying the motion data and assigning classification numbers;
[0122] Combining the assigned classification number with the collector's identity information and generating a first report file;
[0123] Extracting age data from the identity information, and matching the motion threshold information of the corresponding classification number from the Internet according to the age data;
[0124] Compare the motion data information under each classification number with the motion threshold information, generate a standard value in a binary manner, and combine the classification number with the standard value to generate a second report file;
[0125] Searching for disease potential data on the Internet according to the qualified values in the second report file, and combining the disease potential data with the identity information of the collector to generate a third report file;
[0126] Rehabilitation exercises are searched on the Internet according to the disease risk data in the third report file, classification numbers are regenerated for the rehabilitation exercises, and the regenerated classification numbers are combined with the collector's identity information to generate a training plan file.
[0127] In this embodiment, in order to comprehensively collect information, the information collection unit 100 includes a microcontroller module 110, an acceleration sensor module 120, a temperature sensor module 130 and a power supply module 140;
[0128] The microcontroller module 110 is used for configuring sensor parameters, initializing and running the protocol stack program, reading and sending data. It is responsible for initializing and running the protocol stack program, establishing and binding the network, receiving data, processing the received data, and sending it to the PC serial port debugging software through the serial port. The program flow of the microcontroller module 110 is as follows:
[0129] ①、Protocol stack task initialization, protocol stack task initialization function osalInitTasks(), the program segment is as follows:
[0130] void osalInitTasks( void )
[0131] {
[0132] uint8 taskID= 0;
[0133] tasksEvents = (uint16 *)osal_ mem_ alloc( sizeof( uint16 ) *tasksCnt);
[0134] osal_ memset( tasksEvents, 0, (sizeof( uint16 ) * tasksCnt));
[0135] macTaskInit( taskID++ );
[0136] nwk_init(taskID++);
[0137] Hal_ _Init( taskID++ );
[0138] APS_ Init( taskID++ );
[0139] ZDApp_ Init( taskID++ );
[0140] SAPI_ SJCJ_ _Init( taskID ); / / Data collection task
[0141] };
[0142] ②, the operating system is running, the execution of the entire operating system will be through the call function osalstartsystem(), the key program in this function
[0143] do {
[0144] if (tasksEvents[idx]) / / Select the highest priority task
[0145] {
[0146] break;
[0147] }
[0148] } while (++idx < tasksCnt);
[0149] if (idx < tasksCnt)
[0150] {
[0151] uint16 events;
[0152] halIntState_ _t intState;
[0153] events = tasksEvents[idx]; / Get task events
[0154] tasksEvents[idx] = 0; / / Clear the task event flag that has been taken out
[0155] events = (tasksAr[idx])( idx, events ); / / Call the corresponding event processing function
[0156] tasksEvents[idx] |= events; / / Save unprocessed events
[0157] };
[0158] The acceleration sensor module 120 is used to detect acceleration data when a human body moves;
[0159] The temperature sensor module 130 is used to monitor human body temperature. When using fitness equipment, the temperature change of the human body can be monitored. The temperature sensor module 130 uses a temperature sensor that can sense the temperature and convert it into a usable output signal;
[0160] The power module 140 is used to increase the energy of the microcontroller module 110 , the acceleration sensor module 120 and the temperature sensor module 130 .
[0161] It is worth noting that the microcontroller module 110 adopts the CC2530 module. The implementation of the CC2530 module includes the CC2530 chip, clock, antenna matching circuit and I / 0 interface. The implementation of the circuit is mainly clock setting and antenna matching. Clock setting: The CC2530 microcontroller has 16MHz and 32.768KHz RC oscillation circuits, and a 32MHz clock frequency is required when sending data. Antenna implementation: The antenna implementation uses an inverted F PCB antenna, which needs to be used in combination with a balun matching circuit.
[0162] Specifically, the acceleration sensor module 120 uses a 3D acceleration sensor ADXL345, with CC2530 as the main control chip, in which the RF transmission circuit is integrated inside the chip. Therefore, the components of this part can be divided into ADXL345 and peripheral circuits, CC2530 and peripheral circuits, buttons and power supply circuits, such as Figure 6 As shown in the figure, the microprocessor and sensor are used in combination. Both devices support synchronous serial SPI interface. Therefore, ADXL345 adopts SPI four-wire structure. In this structure, the sensor acts as a slave and the main controller acts as a host. Therefore, the sensor data output port (SDO) is connected to the controller input port (P0.2), and the sensor data input port (SDI) is connected to the controller output port (P0.3). Due to synchronous transmission, the slave and the host have a common clock frequency, so the sensor clock port (SCLK) is connected to the controller clock port (P0.5). In addition, the chip select terminal (CS) needs to be connected to the controller (P0.4), otherwise it will not work properly.
[0163] Specifically, the calculation formula of the temperature sensor module 130 is as follows:
[0164] T = k(λ-λ0) + T0
[0165] Where k is the temperature coefficient, λ is the current wavelength of the grating, and T is the current temperature.
[0166] Further, in order to accurately collect data, the information collection unit 200 includes a serial port module 210, a display module 220 and a debug interface module 230;
[0167] The serial port module 210 is used to receive data and then transmit the data one by one in sequence. The communication line is simple, and two-way communication can be achieved with only one pair of transmission lines. The telephone line can be directly used as the transmission line, thereby greatly reducing the cost. It is particularly suitable for long-distance communication, but the transmission speed is slow.
[0168] The display module 220 is used to display data on a display screen, so as to facilitate observation of people's exercise data on the fitness equipment at any time;
[0169] The debug interface module 230 is used to debug the data of the serial port module 210.
[0170] The detailed design of the information collection unit 200 program is as follows:
[0171] ①. Establish a network. After the node is powered on, it starts as a coordinator type, runs the protocol stack and selects a channel, a network identifier and a short address according to the software settings. In this way, a network is established. At this time, other nodes will automatically join the network after starting up and be assigned a unique short address from the coordinator node. After completion, the information collection unit 100 sends a binding request to the coordinator and binds to the coordinator if the coordinator allows it;
[0172] ②. Receive data and send it to the computer. The prototype of the function for receiving data is:
[0173] void zb_ ReceiveDataIndication( uint16 source, uint1 6 command, uint8* pData )
[0174] {
[0175] gtwData.parent
[0176] =
[0177] BUILD_ UINTI6(pData[SENSOR_ PARENT_ _OFFSET+1],
[0178] pData[SENSOR_ PARENT_ OFFSET]); / Parent node short address
[0179] gtwData. source source; 1 / 1 source node short address
[0180] gtwData.temp=* pData; / High 8 bits of temperature data
[0181] gtwData.voltage=*(pData+l); / voltage data
[0182] gtwData.temp_ _2=*(pData+SENSOR_ TEMP2_ OFFSET); / / low eight bits of temperature data
[0183] gtwData.X_ Sensor=*(pData+SENSOR_ X_ OFFSET); / / X-axis data
[0184] gtwData.Y_ _Sensor=*(pData+SENSOR_ Y_ OFFSET); / / Y-axis data
[0185] gtwData.Z_ Sensor=*(pData+SENSOR_ Z OFFSET); / / Z-axis data
[0186] HalLedSet( HAL_ LED_ 2, HAL LED_ MODE_ FLASH ); / / LED2 flashes once
[0187] sendGtwReport(>wData); / / Call the serial port sending function
[0188] }.
[0189] Furthermore, in order to facilitate the formulation of appropriate training plans,
[0190] The functional unit 300 includes a login module 310, a training plan management module 320, a training performance management module 330 and a query statistics analysis module 340;
[0191] The login module 310 is used to complete the login and authority configuration of trainers and coaches;
[0192] The training plan management module 320 is used to formulate training plans and perform diagnosis and prediction analysis based on disease potential data, so as to better obtain the physical fitness information of the trainees using fitness equipment;
[0193] The training performance management module 330 is used to record the training data of the trainee using the fitness equipment;
[0194] The query statistics analysis module 340 is used to query the training results of the fitness equipment and analyze the physique of the trainees;
[0195] The diagnostic prediction analysis based on disease hidden danger data uses the calculation of the input and output of each prediction neuron in the hidden layer: specifically:
[0196] ;
[0197] ;
[0198] ;
[0199] ;
[0200] in, For the hidden layer input vector; Predict the total number of neurons in the hidden layer; Predict the total number of neurons for the input layer; Predict the total number of neurons for the output layer; is the connection weight between the input layer and the hidden layer; is the threshold value of each prediction neuron in the hidden layer; is the input vector; For the Hidden layer output vector; For the Output layer input vector; is the connection weight between the hidden layer and the output layer; is the threshold value of each prediction neuron in the output layer; Output vector for the output layer;
[0201] The training performance management module 330 is used to record the training data of the trainee using the fitness equipment;
[0202] The query statistics analysis module 340 is used to query the training results of the fitness equipment and analyze the physique of the trainees.
[0203] Specifically, the training data of the training performance management module 330 includes the name of the trainee, the equipment number, the serial number, the weight, the stretching position and the time, so as to better calculate and collect the physique of the trainee.
[0204] Furthermore, in order to realize the data monitoring function, the data monitoring unit 400 includes a database module 410, a data access module 420 and a data transmission module 430;
[0205] The database module 410 is used to store and manage the training data of the trainers, and can conveniently classify and manage the training data, making the data more convenient, flexible and efficient to use. At the same time, the use of MySQL database can reduce costs, reduce the user's investment costs, and improve the economic benefits of the system;
[0206] The data access module 420 is used to transmit the data of the database module 410 to the client;
[0207] The data transmission module 430 is used to realize the diverse display of data and the integration of different data sources, interact with other systems, and realize data sharing.
[0208] In addition, in order to better access data, the data access module 420 uses the API interface of JDBC technology, which is a universal standard API interface for external programs to access. JDBC technology includes the following aspects:
[0209] Attitude 1, C / S mode, the Java code of the client directly establishes a connection with the database module 410 through the JDBC interface, and the server side compresses and transmits the processed data back to the client through the JDBC interface;
[0210] Posture 2, B / S mode, the user's data request is first submitted to the server, the server forwards the received message to the backend database module 410 through the JDBC interface, extracts the corresponding data from the database module 410 and returns it, and the returned result is sent to the server through the JDBC interface, the server forwards it to the client, and the client parses and displays the received information.
[0211] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. Fitness equipment physical information collection system based on API connection, Features: It comprises an information acquisition unit (100), an information collection unit (200), a function unit (300) and a data monitoring unit (400); The information collection unit (100) is responsible for collecting data, acquiring and transmitting the identity information of the collector, human health information and movement information; The information collection unit (200) is used to receive and forward the data collected by the information collection unit (100); The functional unit (300) is used to implement the functions of storing, querying and analyzing the sports data, and to deeply match the sports data with human health information, and then provide statistical feedback; The data monitoring unit (400) is used to monitor and transmit the data of the functional unit (300); The deep matching of the motion data with the human health information comprises the following steps: Collecting motion data information, classifying the motion data and assigning classification numbers; Combining the assigned classification number with the collector's identity information and generating a first report file; Extracting age data from the identity information, and matching the motion threshold information of the corresponding classification number from the Internet according to the age data; Compare the motion data information under each classification number with the motion threshold information, generate a standard value in a binary manner, and combine the classification number with the standard value to generate a second report file; Searching for disease potential data on the Internet according to the qualified values in the second report file, and combining the disease potential data with the identity information of the collector to generate a third report file; Rehabilitation exercises are searched on the Internet according to the disease risk data in the third report file, classification numbers are regenerated for the rehabilitation exercises, and the regenerated classification numbers are combined with the collector's identity information to generate a training plan file.
2. The API-connected fitness equipment physical fitness information collection system according to claim 1, Features: The information acquisition unit (100) comprises a microcontroller module (110), an acceleration sensor module (120), a temperature sensor module (130) and a power supply module (140); The microcontroller module (110) is used for configuring sensor parameters, initializing and running the protocol stack program, and reading and sending data, and is responsible for initializing and running the protocol stack program; The acceleration sensor module (120) is used to detect acceleration data when a human body is in motion; The temperature sensor module (130) is used to monitor human body temperature; The power supply module (140) is used to increase the energy of the microcontroller module (110), the acceleration sensor module (120) and the temperature sensor module (130).
3. The API-connected fitness equipment physical fitness information collection system according to claim 2, Features: The microcontroller module (110) adopts a CC2530 module, and the implementation of the CC2530 module includes a CC2530 chip, a clock, an antenna matching circuit and an I / O interface.
4. The API-connected fitness equipment physical fitness information collection system according to claim 2, Features: The acceleration sensor module (120) adopts a 3D acceleration sensor ADXL345 and uses CC2530 as a main control chip.
5. The API-connected fitness equipment physical fitness information collection system according to claim 2, Features: The calculation formula of the temperature sensor module (130) is as follows: T = k(λ-λ0) + T0 Where k is the temperature coefficient, λ is the current wavelength of the grating, and T is the current temperature.
6. The API-connected fitness equipment physical fitness information collection system according to claim 1, Features: The information collection unit (200) comprises a serial port module (210), a display module (220) and a debug interface module (230); The serial port module (210) is used to receive data and then transmit the data bit by bit in sequence; The display module (220) is used to display data on a display screen; The Debug interface module (230) is used to debug the data of the serial port module (210).
7. The API-connected fitness equipment physical fitness information collection system according to claim 1, Features: The functional unit (300) comprises a login module (310), a training plan management module (320), a training performance management module (330) and a query statistics analysis module (340); The login module (310) is used to complete the login and authority configuration of trainers and coaches; The training plan management module (320) is used to formulate a training plan and perform diagnosis and prediction analysis based on the disease potential risk data, so as to better obtain the physical fitness information of the trainee using the fitness equipment; The training performance management module (330) is used to record the training data of the trainee using the fitness equipment; The query statistics analysis module (340) is used to query the training results of the fitness equipment and analyze the physical fitness of the trainees; The diagnosis prediction analysis based on the disease hidden danger data adopts the calculation of the input and output of each prediction neuron in the hidden layer: specifically: ; ; ; ; in, For the hidden layer input vector; Predict the total number of neurons in the hidden layer; Predict the total number of neurons for the input layer; Predict the total number of neurons for the output layer; is the connection weight between the input layer and the hidden layer; is the threshold value of each prediction neuron in the hidden layer; is the input vector; For the Hidden layer output vector; For the Output layer input vector; is the connection weight between the hidden layer and the output layer; is the threshold value of each prediction neuron in the output layer; Output vector for the output layer.
8. The API-connected fitness equipment physical fitness information collection system according to claim 7, Features: The training data of the training performance management module (330) includes the name of the trainer, equipment number, serial number, weight, stretching position and time.
9. The API-connected fitness equipment physical fitness information collection system according to claim 1, Features: The data monitoring unit (400) comprises a database module (410), a data access module (420) and a data transmission module (430); The database module (410) is used to store and manage the training data of the trainees; The data access module (420) is used to transmit the data of the database module (410) to the client; The data transmission module (430) is used to realize diverse display of data and integration of different data sources, interact with other systems, and realize data sharing.
10. The API-connected fitness equipment physical fitness information collection system according to claim 9, Features: The data access module (420) uses an API interface of JDBC technology, which is a universal standard API interface for external programs to access. The JDBC technology includes the following aspects: Attitude 1, C / S mode, the Java code of the client directly establishes a connection with the database module (410) through the JDBC interface, and the server side compresses the processed data and sends it back to the client through the JDBC interface; Posture 2, B / S mode, the user's data request is first submitted to the server, the server forwards the received message to the backend database module (410) through the JDBC interface, extracts the corresponding data from the database module (410) and returns it, and the returned result is sent to the server through the JDBC interface, the server forwards it to the client, and the client parses and displays the received information.
Citation Information
Patent Citations
Remote Health Care Service System And A Method
KR1020010097151A
Health and wellness management methods and systems useful for the practice thereof
US20160071432A1
