Body composition detection information batch acquisition and interaction system based on Web architecture
By adopting a front-end and back-end separation design based on a web architecture and using Django/Vue technology, the problem of low efficiency in traditional body composition data collection is solved, and efficient and intelligent body composition detection information processing is achieved, which is suitable for large-scale physical examinations and health management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI NORMAL UNIVERSITY
- Filing Date
- 2026-01-23
- Publication Date
- 2026-04-21
AI Technical Summary
Traditional methods of body composition data collection are cumbersome, inefficient, and inconsistent, making it difficult to meet the needs of large-scale physical examinations for speed, accuracy, and efficiency.
It adopts a front-end and back-end separation design based on web architecture, and uses Django and Vue technologies to realize user information collection, device data acquisition, real-time result display and report generation. By separating the body composition detection device from the host computer, it generates standardized PDF reports using a unified template and supports network printing.
It enables accurate matching and rapid processing of body composition analysis data, improves data organization and system response efficiency, enhances report completeness and readability, and reduces operational complexity and time costs.
Smart Images

Figure CN121905404A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the technical field of health management, specifically relating to a web-based system for batch collection and interaction of body composition detection information. Background Technology
[0002] With the development of health management and physical examination industries, body composition analysis has become an important part of individual health assessment. Traditional methods of body composition data collection mainly rely on proprietary software on the equipment and manual data recording. This is not only cumbersome to operate, but also often suffers from low data collection efficiency, poor data consistency, and complex processing when conducting large-scale physical examinations in enterprises or schools. In particular, traditional methods cannot meet the needs of rapid, accurate, and efficient data collection and management when facing large-scale physical examinations. Summary of the Invention
[0003] To address the aforementioned technical issues, this invention provides a web-based system for batch collection and interaction of body composition detection information. This system utilizes a front-end and back-end separation architecture and leverages Django and Vue technologies to achieve user information collection, device data acquisition, real-time result display, and report generation. It is widely applicable in areas such as large-scale group physical examinations, fitness venues, and personal health management.
[0004] To achieve the above objectives, the present invention provides the following technical solution: A web-based system for batch collection and interaction of body composition information includes a body composition detection device and a host computer. The body composition detection device is used to collect the body composition information of the test subject and upload it to the host computer. The host computer is used to process the body composition information and display, query, and summarize the results.
[0005] Furthermore, the body composition detection device is equipped with a data acquisition module, which is used to collect the body composition information of the test subject.
[0006] Furthermore, the host computer is equipped with an information input module, a data parsing and matching module, a result display module, a report generation module, and a printing module. The information entry module is used to collect the tester's basic identity information, third-party ID, and batch code identifier. The basic identity information includes name, date of birth, and mobile phone number. The data parsing and matching module is used to parse the body composition information in a format and bind it with the basic information entered by the test subject to ensure the match between the two, while also processing the body composition information. The results display module is used to display body composition data through the front-end interface, including weight, body fat percentage, basal metabolic rate, and muscle mass, and to display body composition trends in the form of visual charts according to user needs. The report generation module is used to automatically generate a standardized PDF test report based on physical test index data, and embed the user's test data and analysis results in the PDF; The printing module is used to support report printing via links provided in PDF files using linked printers.
[0007] Furthermore, the batch coding identifier is used as a communication identifier between the host computer and the body composition detection device, and can be replaced by the tester's mobile phone number. The third-party ID is based on the common attributes of a group of testers and is used for subsequent test result queries.
[0008] Furthermore, the data parsing and matching module adopts the Django backend framework, and uses model classes for data storage and business logic processing; The results display module is implemented using a front-end interface built with Vue.js, which supports dynamic chart updates and displays the changing trends and analysis results of physical test indicators in real time.
[0009] Furthermore, the host computer transmits data to the volume composition detection device via serial communication, LAN socket, or HTTP interface.
[0010] Compared with the prior art, the beneficial effects of the present invention are: 1. This invention proposes a volume composition detection information processing mechanism based on a front-end and back-end separation architecture. By decoupling user identity information collection from device data transmission and binding and matching it uniformly through the back-end, it achieves accurate correspondence and rapid processing of detection data, significantly improving data organization and system response efficiency.
[0011] 2. Regarding report generation, this invention uses a unified template combined with front-end data to generate standardized PDF documents, while embedding physical test data and user information into the report to ensure the completeness and professionalism of the report content.
[0012] 3. Historical records can be queried using the same third-party ID, and line charts of historical records are automatically generated in the report, allowing users to view the changing trends of historical physical test data. It also supports multi-dimensional indicator interaction, enhancing the readability of physical test results and users' ability to understand health.
[0013] 4. To improve the application efficiency of the system in the on-site physical examination environment, this invention proposes a direct PDF printing solution based on the network printing interface, which eliminates the need for intermediate format conversion, ensures the consistency and efficiency of the report format during the output process, and reduces the time cost and operational complexity of the traditional printing process. Attached Figure Description
[0014] Figure 1 This is a schematic diagram illustrating the communication between the host computer and the body composition detection device of the present invention; Figure 2 This is a schematic diagram of the overall process of the present invention; Figure 3 This is a schematic diagram of the information input module of the present invention displayed on a host computer; Figure 4 This is a schematic diagram of the test report of the present invention; Figure 5 This is a schematic diagram illustrating some of the test results of the present invention. Detailed Implementation
[0015] To make the technical means, creative features, objectives and effects of the present invention easier to understand, the following embodiments, in conjunction with the accompanying drawings, specifically illustrate the Web-based bulk data acquisition and interaction system and method for volume composition detection information. It should be noted that the descriptions of these embodiments are for the purpose of helping to understand the present invention, but do not constitute a limitation of the present invention.
[0016] like Figure 1 As shown, this invention provides a web-based system for batch acquisition and interaction of body composition information, including a body composition detection device and a host computer. The body composition detection device collects the body composition information of test subjects and uploads it to the host computer. The host computer transmits data with the body composition detection device via serial communication, LAN socket, or HTTP interface, and is used for data processing, result display, querying, and summary analysis of the body composition information. In this way, the body composition detection device serves as a sampling device, used only for data acquisition, while all data processing and analysis are performed by the host computer. This ensures that the body composition detection device can continuously acquire data, improves acquisition efficiency, meets the practical needs of large-scale physical examinations and other application scenarios, and is more practical and easier to promote and apply.
[0017] Specifically as follows: The body composition detection device is equipped with a data acquisition module, which is used to collect the body composition information of the test subject. Existing body composition analyzers can be used to perform the data acquisition.
[0018] The host computer is equipped with modules for information entry, data parsing and matching, result display, report generation, and printing. The information entry module collects basic identity information, batch coding identifiers, and third-party IDs from test subjects. It consists of a web interface implemented using Vue. Basic identity information includes name, date of birth, and mobile phone number. The batch coding identifier is used for communication between the host computer and the body composition analysis equipment; it can be replaced with the test subject's mobile phone number or set to a similar structure, such as 14000110001 for student number 1 in Class 1 of Grade 11 in a real-world school setting. The third-party ID represents the common attributes of a batch of test subjects, facilitating subsequent result retrieval. In practice, it can also include the student's grade, class, and student ID. This key-value pair will be used to find the corresponding test data in the subsequent data display. Before the test, staff input the test subject's basic identity information, such as name, date of birth, mobile phone number, as well as the pre-set batch coding identifier and third-party ID. Submitting this information triggers the data collection module to execute the subsequent data collection process.
[0019] This data parsing and matching module, using the Django backend framework, is responsible for monitoring device data, determining test completion status, and receiving results. It stores data and processes business logic through model classes, primarily parsing body composition information in its format and binding it to the basic information entered by the tester to ensure a match. It also performs data processing on the body composition information. The results display module is used to display body composition data, including weight, body fat percentage, basal metabolic rate, and muscle mass, through a front-end interface. It also displays body composition trends in the form of visual charts according to user needs. The front-end interface is mainly built with Vue.js and supports real-time viewing of test results, dynamic chart updates, and real-time display of changes and analysis results of body composition data.
[0020] This report generation module is used to automatically generate standardized PDF test reports based on physical test data, and archive and store the reports in the database. It supports subsequent export, query and batch analysis, and also embeds the user's test data and analysis results into the PDF report. This printing module is used to print reports via links provided in PDF files, supporting the use of linked printers. The generated reports can be printed locally or over a network. When using the batch acquisition and interaction system of the present invention, such as Figure 2As shown, staff fill in the tester's basic identity information, such as name, date of birth, mobile phone number or batch code identifier, and third-party ID, on the user data entry interface based on the tester's description. In our actual measurement case, the student's age, class, and student ID can be used as the batch code identifier. After the user completes the information, the body composition detection device is started, and the data acquisition operation is completed according to the device instructions. After the device emits a prompt tone indicating that the measurement is complete, the staff clicks the "Get ID" and "Get token" buttons, as shown in Figure 3. Each measurement generates a unique measurement number, which is bound to the current tester's identity information. Finally, the staff clicks "Submit" to complete the current measurement.
[0021] After the measurement is completed, staff can access the results viewing page to query various body composition data for all users. Data from different users is either filled in by the individual or identified by a third-party ID in a standardized format. Furthermore, in practical applications of third-party ID annotation, such as in the measurement exercise for student Zhang San at Baoshan Middle School on August 24th, the third-party ID could be set to: bszx0824zs. Figure 5 The image shows an example of our use of the device during a project test at Baoshan Middle School. Students completed body composition measurements based on the device's announcements.
[0022] After the test is completed and the host computer receives the test data, staff can click "View Report" on the results viewing page to generate a standardized report in PDF format. Actual usage is as follows: Figure 4 As shown, the report is finally printed using the built-in print link function of the PDF file via the network printer interface.
[0023] In summary, the batch acquisition and interaction system of the present invention adopts a front-end and back-end separation architecture design, which realizes intelligent and visual management of the body composition detection process without changing the existing equipment structure, and significantly improves the efficiency of body composition testing and the traceability of results.
[0024] Meanwhile, this invention utilizes a front-end and back-end separation architecture built on Django and Vue, effectively improving the system's scalability and data processing efficiency. The system is particularly suitable for large-scale physical examinations or health record management scenarios, significantly improving overall processing efficiency while maintaining high accuracy. This system can be quickly deployed without requiring hardware modifications to existing body composition analysis equipment, possessing excellent versatility and portability, and providing an efficient, intelligent, and low-cost information solution for body composition analysis scenarios.
[0025] It is important to note that the schemes and arrangements of this application shown in the exemplary embodiments are merely exemplary. Although only a few embodiments are described in detail in this disclosure, those who consult this disclosure will readily understand that many modifications are possible (e.g., variations in various parameter values (temperature, power, humidity, etc.), installation arrangements, names, colors, logical orders, etc.) without substantially departing from the novel teachings and advantages of the subject matter described in this application. Therefore, all such modifications are also included within the scope of the invention, and the order or sequence of any process or method steps may be changed or rearranged according to alternative embodiments. In the claims, any "apparatus plus function" clause is intended to cover the structure described herein for performing the function, and not only structurally equivalent but also equivalent in structure. Other substitutions, modifications, alterations, and omissions may be made in the design, operation, and arrangement of the exemplary embodiments without departing from the scope of the invention. Therefore, the invention is not limited to the particular embodiments but extends to a variety of modifications that still fall within the scope of the appended claims.
[0026] Furthermore, in order to provide a concise description of exemplary embodiments, not all features of actual embodiments (i.e., those features that are not relevant to the best mode of carrying out the invention as currently considered, or those features that are not relevant to implementing the invention) may be omitted.
[0027] It should be understood that numerous specific implementation decisions can be made during the development of any practical implementation, such as in any engineering or design project. Such development efforts may be complex and time-consuming, but for those skilled in the art who benefit from this disclosure, the development effort will be a routine task in design, manufacturing, and production without requiring extensive experimentation.
[0028] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A web-based system for batch acquisition and interaction of volume composition detection information, characterized in that: It includes a body composition detection device and a host computer. The body composition detection device is used to collect the body composition information of the test subject and upload it to the host computer. The host computer is used to process the body composition information and display, query and summarize the results.
2. The system for batch acquisition and interaction of volume composition detection information based on a Web architecture as described in claim 1, characterized in that: The body composition detection device is equipped with a data acquisition module, which is used to collect the body composition information of the test subject.
3. The system for batch acquisition and interaction of volume composition detection information based on a Web architecture as described in claim 1, characterized in that: The host computer is equipped with an information input module, a data parsing and matching module, a result display module, a report generation module, and a printing module. The information entry module is used to collect the tester's basic identity information, third-party ID, and batch code identifier. The basic identity information includes name, date of birth, and mobile phone number. The data parsing and matching module is used to parse the body composition information in a specific format and bind it with the basic information entered by the test subject to ensure the match between the two. At the same time, it performs data processing on the body composition information. The results display module is used to display body composition data through the front-end interface, including weight, body fat percentage, basal metabolic rate, and muscle mass, and to display body composition trends in the form of visual charts according to user needs. The report generation module is used to automatically generate a standardized PDF test report based on physical test index data, and embed the user's test data and analysis results in the PDF; The printing module is used to support report printing via links provided in PDF files using linked printers.
4. The system for batch acquisition and interaction of volume composition detection information based on a Web architecture as described in claim 3, characterized in that: The batch code identifier is used for communication between the host computer and the body composition detection device, and can be replaced by the tester's mobile phone number. The third-party ID is based on the common attributes of a group of testers and is used for subsequent test result queries.
5. The system for batch acquisition and interaction of volume composition detection information based on a Web architecture as described in claim 4, characterized in that: The data parsing and matching module uses the Django backend framework and performs data storage and business logic processing through model classes. The results display module is implemented using a front-end interface built with Vue.js, which supports dynamic chart updates and displays the changing trends and analysis results of physical test indicators in real time.
6. The system for batch acquisition and interaction of volume composition detection information based on a Web architecture as described in claim 1, characterized in that: The host computer transmits data to the body composition detection device via serial communication, LAN socket, or HTTP interface.