Campus dormitory management behavior analysis method based on minimum dormitory unit coding
Patent Information
- Application Number
- CN202611309681.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-03
AI Technical Summary
The existing dormitory management system cannot accurately locate beds or fixed facilities, and lacks unified coding, resulting in data chaos and difficulty in tracing historical records, thus failing to achieve refined management.
The method based on the smallest dormitory unit coding is adopted. The campus space is broken down into campus, building, floor, room and smallest dormitory unit according to the campus space hierarchy. A globally unique identifier code is generated and an online space mapping table is established to bind business data and realize full life cycle management.
It enables refined management at the bed level, ensuring data consistency and accuracy, supporting multi-dimensional analysis and historical record tracing, and improving management efficiency.
Smart Images

Figure CN123032509A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of information management and spatial data governance technology for campus dormitories, and particularly relates to a method for analyzing campus accommodation management behavior based on the smallest dormitory unit code. Background Technology
[0002] With the continuous advancement of information technology construction in university logistics, campus dormitory management has gradually shifted from the traditional paper-based registration and manual inspection model to a smart management model that includes online ledger management, mobile repair reporting, access control verification, water and electricity metering, and digital dormitory inspections. Existing dormitory management systems can generally complete the registration and management of building, floor, room, and resident student information, meeting the basic accommodation ledger business needs.
[0003] In real-world management scenarios, many management actions do not occur solely at the room level. Tasks such as student bed allocation and adjustment, asset liability attribution, bed facility maintenance, hygiene inspection scoring, violation recording, and space usage status control all require precise location down to the specific bed or fixed spatial point. However, existing systems typically use "room" as the smallest business object, lacking a unified online representation and identification system for fine-grained physical spaces within a room, such as beds, fixed facilities, and designated areas.
[0004] The existing technologies currently fall into the following categories: The first type is the room-level dormitory management system. This type of system uses buildings, floors, and rooms as basic data objects to record information such as student check-in, room changes, room capacity, and room status. It can meet the basic accommodation ledger management needs, but the spatial objects are limited to the room level and cannot stably express the location of beds or specific facilities inside the room, making it difficult to support refined management.
[0005] The second type is the bed allocation system with attached bed registration. Some systems record the bed number when students check in, such as "Bed No. 1" or "Upper Bunk". However, this type of bed information only exists as an auxiliary text field of room information. It lacks independent unique coding, full life cycle management and online spatial mapping relationship. It cannot be used as a reliable primary key for business data collection, tracking and statistics. Data chaos is likely to occur after room changes or bed changes.
[0006] The third category is the independent numbering system for equipment assets. Equipment assets such as access control, water and electricity meters, air conditioners, and furniture in the dormitory can be assigned individual numbers. However, this type of numbering is geared towards the equipment asset itself and cannot directly represent the physical space of the dormitory. When equipment is replaced, relocated, or repaired, if there is a lack of stable spatial anchor points, the association between equipment data and accommodation space is prone to failure and cannot be continuously bound to the corresponding spatial location.
[0007] In summary, existing dormitory management technologies have the following shortcomings: First, the spatial granularity is insufficient, managing only the room level and failing to cover finer-grained physical spaces such as beds and facility locations; second, online spatial mapping is unstable, with bed and facility information mostly recorded in text form, lacking unified coding rules, making data breaks prone to occur after space adjustments; third, business data is difficult to collect, with repair, inspection, asset, hygiene, and occupancy data scattered across different modules, lacking a unified spatial primary key, and unable to form a complete ledger oriented towards the smallest space; fourth, historical record tracing is difficult, as space adjustments or personnel changes usually only retain the current state, making it impossible to accurately trace the space ownership and management responsibility at historical points in time. Summary of the Invention
[0008] The purpose of this invention is to propose a campus accommodation management behavior analysis method based on the smallest dormitory unit coding in order to solve the above-mentioned problems.
[0009] To achieve the above objectives, the present invention employs the following method: a campus accommodation management behavior analysis method based on the smallest dormitory unit code, comprising the following steps: 1) Decomposition of dormitory physical space hierarchy and determination of the smallest unit: According to the campus space hierarchy, it is divided into campus, area, building, floor, room and the smallest dormitory unit. The smallest dormitory unit is the bed or fixed space point in the dormitory room. The smallest dormitory unit is determined as the basic space object of online accommodation management. 2) Generate a unique code for the smallest hierarchical dormitory unit: According to the preset unified coding rules, generate a globally unique identification code for each smallest dormitory unit; the code includes the campus code segment, building code segment, floor code segment, room code segment and unit code segment in sequence. The code is bound to the offline physical space and does not change with the change of residents or equipment assets. 3) Establish an online space mapping table: Construct a minimum dormitory unit mapping data table to store the association between the code of each minimum dormitory unit and the corresponding physical space attributes, supporting forward positioning from physical location to code, and reverse query from code to offline space; 4) Unified binding of business data and unit codes: The business data of the entire campus accommodation management process is associated and bound with the code of the corresponding smallest dormitory unit, and the code of the smallest dormitory unit is used as the unified spatial primary key for the entire business scenario; 5) Full lifecycle status management of the smallest dormitory unit: Set status fields and historical version records for each smallest dormitory unit. When the dormitory space is adjusted or changed, the historical status data of the original code is retained, so as to trace the space ownership and management responsibility by time. 6) Refined digital management based on coding: Relying on the coding of the smallest dormitory unit, multi-dimensional spatial query and unified ledger management are realized. All business data are collected around a single smallest dormitory unit to form a complete spatial management archive. 7) Code-based hierarchical aggregation and behavior analysis: Starting with the smallest dormitory unit as the bottom data granularity, the data is aggregated upwards to the dimensions of room, floor, building, and campus to generate accommodation management statistical indicators, and accommodation behavior analysis is carried out based on multi-dimensional data.
[0010] As a further description of the above technical solution: In step 2), the encoding adopts a segmented hierarchical structure, with an example format of C01-B03-F02-R201-B01, where C01 is the campus code, B03 is the building code, F02 is the floor code, R201 is the room code, and B01 is the unit code within the room; the length of each segment of the encoding is fixed, and it supports direct parsing of spatial hierarchy information through the encoding.
[0011] As a further description of the above technical solution: In step 3), the fields of the minimum dormitory unit mapping data table include: minimum unit code, campus name, building number, floor number, room number, unit name, space status, activation time, deactivation time, parent space code, sorting number, and remarks.
[0012] As a further description of the above technical solution: In step 4), the business data bound to the smallest dormitory unit code includes: student check-in information, dormitory transfer and check-out records, asset configuration information, equipment access data, repair work order records, inspection records, hygiene inspection records, and violation records.
[0013] As a further description of the above technical solution: In step 5), the status of the smallest dormitory unit includes: activated, occupied, vacant, under maintenance, deactivated, and under adjustment. When room merging or splitting, bed addition or reduction, or equipment relocation occurs, the system records the spatial change process through status change, start / stop time markers, and version numbers, without deleting historical coded data.
[0014] As a further description of the above technical solution: In step 6), the unified ledger management supports: viewing the list of the smallest dormitory units by campus-building-floor-room, locating the corresponding space code by student information, asset number, and work order number, and querying the current occupant, historical occupancy records, bound asset list, equipment operating status, repair history, inspection records, and management responsibility information of a single smallest unit.
[0015] As a further description of the above technical solution: In step 7), the statistical indicators include: occupancy rate, vacancy rate, number of maintenance work orders, asset integrity rate, hygiene inspection completion rate, and violation rate; the behavioral analysis includes: resident flow patterns, space utilization efficiency, facility wear and tear trends, and hygiene management compliance analysis.
[0016] As a further description of the above technical solution: When the smallest dormitory unit is a bed, one bed code corresponds to one student, and is also linked to the bed frame, locker, dedicated socket, and meter branch assets associated with that bed; when the smallest dormitory unit is a fixed spatial location, it corresponds to the location of public equipment, public storage area, or management responsibility point in the room.
[0017] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are: 1. In this invention, the dormitory physical space is broken down into the smallest unit of bed or fixed space point, and an independent and unique code is generated. This allows dormitory management to be refined from room-level ledgers to bed-level space objects, avoiding the information inconsistency problem caused by relying on manual text descriptions. It provides stable space identification for all business scenarios, realizes the granularity of dormitory management, and forms a stable space primary key.
[0018] 2. In this invention, by establishing a standardized spatial mapping table, the precise correspondence between offline physical spaces and online data objects can be achieved. Managers can quickly locate specific spatial locations through codes, or quickly obtain the corresponding codes through physical locations, thereby improving management efficiency and accuracy and ensuring consistency between online and offline spaces.
[0019] 3. In this invention, business data from multiple modules such as student check-in, asset equipment, repair and inspection, and hygiene inspection can all be associated and collected around the same smallest unit code to form a complete space management file, breaking down data barriers between different business systems and supporting continuous collection of full business data.
[0020] 4. In this invention, by managing the entire lifecycle status of the smallest dormitory unit, all historical versions of space changes are retained, and the space ownership, occupants, equipment status and management responsibility at any point in time can be accurately traced, solving the problem of historical data distortion after space adjustment and improving the ability to trace history and define responsibilities.
[0021] 5. In this invention, the coding system can serve as a unified spatial benchmark for dormitory management systems, visualization screens, mobile inspection, asset management, and IoT device access, supporting the expansion and implementation of various subsequent digital applications and providing a unified data foundation for the construction of smart dormitories. Attached Figure Description
[0022] Figure 1 This is a flowchart of a campus accommodation management behavior analysis method based on the minimum dormitory unit coding.
[0023] Figure 2 This is a schematic diagram illustrating the mapping between physical dormitory space and online minimum unit in a campus accommodation management behavior analysis method based on minimum dormitory unit coding.
[0024] Figure 3 This is a schematic diagram of the minimum dormitory unit coding structure in a campus accommodation management behavior analysis method based on minimum dormitory unit coding.
[0025] Figure 4 This diagram illustrates the binding relationship between the minimum dormitory unit code and business data in a campus accommodation management behavior analysis method based on the minimum dormitory unit code.
[0026] Figure 5 This is a flowchart of the lifecycle management of the smallest dormitory unit in a campus accommodation management behavior analysis method based on the smallest dormitory unit coding. Detailed Implementation
[0027] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] Please see Figure 1-5 This invention provides a technical solution: a campus accommodation management behavior analysis method based on the smallest dormitory unit code, comprising the following steps: S01: Dormitory physical space hierarchy breakdown and minimum unit determination: According to the campus space hierarchy, it is broken down into campus area, area, building, floor, room, and minimum dormitory unit. The minimum dormitory unit is the bed or fixed space point in the dormitory room. The minimum dormitory unit is determined as the basic space object of online accommodation management. S02: Generate a unique code for the smallest hierarchical dormitory unit: Generate a globally unique identifier code for each smallest dormitory unit according to the preset unified coding rules; the code includes the campus code segment, building code segment, floor code segment, room code segment and unit code segment in sequence, and the code is bound to the offline physical space one by one, and does not change with the change of residents or equipment assets; Specifically, the encoding adopts a segmented hierarchical structure, with an example format of C01-B03-F02-R201-B01, where C01 is the campus code, B03 is the building code, F02 is the floor code, R201 is the room code, and B01 is the unit code within the room; the length of each segment of the encoding is fixed, and it supports direct parsing of spatial hierarchy information through the encoding; S03: Establish an online space mapping table: Construct a minimum dormitory unit mapping data table to store the association between the code of each minimum dormitory unit and the corresponding physical space attributes, supporting forward positioning from physical location to code, and reverse query from code to offline space; Specifically, the fields of the minimum dormitory unit mapping data table include: minimum unit code, campus name, building number, floor number, room number, unit name, space status, activation time, deactivation time, parent space code, sorting number, and remarks. S04: Unified binding of business data and unit codes: The business data of the entire campus accommodation management process is associated and bound with the code of the corresponding smallest dormitory unit, and the code of the smallest dormitory unit is used as the unified spatial primary key for the entire business scenario; Specifically, the business data bound to the smallest dormitory unit code includes: student check-in information, dormitory change and check-out records, asset configuration information, equipment access data, repair work order records, inspection records, hygiene inspection records, and violation records; S05: Full lifecycle status management of the smallest dormitory unit: Set status fields and historical version records for each smallest dormitory unit. When the dormitory space is adjusted or changed, retain the historical status data of the original code to realize the traceability of space ownership and management responsibility by time dimension; Specifically, the status of the smallest dormitory unit includes: activated, occupied, vacant, under maintenance, deactivated, and under adjustment; when room merging or splitting, bed addition or removal, or equipment relocation occurs, the system records the spatial change process through status changes, start / stop time markers, and version numbers, without deleting historical coded data; S6: Refined digital management based on coding: Relying on the coding of the smallest dormitory unit, it realizes multi-dimensional space query and unified ledger management, and collects all business data around a single smallest dormitory unit to form a complete space management archive; Specifically, the unified ledger management supports: viewing the list of the smallest dormitory units by campus-building-floor-room, locating the corresponding space code by student information, asset number, and work order number, and querying the current occupant, historical occupancy records, bound asset list, equipment operating status, repair history, inspection records, and management responsibility information of a single smallest unit; S07: Code-based hierarchical aggregation and behavior analysis: Taking the smallest dormitory unit as the bottom data granularity, the data is aggregated upwards to the room, floor, building, and campus dimensions to generate accommodation management statistical indicators, and accommodation behavior analysis is carried out based on multi-dimensional data; Specifically, the statistical indicators include: occupancy rate, vacancy rate, number of maintenance work orders, asset integrity rate, hygiene inspection completion rate, and violation rate; the behavioral analysis includes: occupancy flow patterns, space utilization efficiency, facility wear and tear trends, and hygiene management compliance analysis.
[0029] Example 1: Online filing and daily management application of dormitory beds in universities This embodiment uses the bed-level management of student dormitories in ordinary universities as a scenario to provide a detailed explanation of the method.
[0030] S01: Dormitory Physical Space Decomposition and Minimum Unit Determination Based on the actual spatial structure of the campus, the dormitory area is divided into six levels from top to bottom: campus, zone / area, building, floor, room, and bed. For standard student dormitories, a single bed is defined as the smallest dormitory unit, serving as the basic spatial object for subsequent online registration and business integration. For dormitory areas that include public facilities, the locations of fixed equipment within the room, public storage spaces, etc., can also be set as supplementary smallest dormitory units.
[0031] S02: Generate a unique code for the smallest dormitory unit. The system generates a globally unique code for each bed according to the hierarchical coding rule of "campus-building-floor-room-unit". The code adopts a segmented structure, separated by hyphens, for example C01-B03-F02-R201-B01: where C01 represents the first campus, B03 represents the third dormitory building, F02 represents the second floor, R201 represents room 201, and B01 represents the first bed in the room.
[0032] This code corresponds only to the physical space itself and is unrelated to the students, equipment numbers, or business order numbers. Changing students or relocating equipment will not change the code itself, ensuring the stability of the space identification.
[0033] S03: Establish an online space mapping table The system establishes a minimum dormitory unit mapping table in the database. Each record corresponds to a minimum dormitory unit, and the fields include: minimum unit code, campus, building, floor, room number, bed number, space status, activation time, deactivation time, parent space code, sort number, and remarks.
[0034] Using this mapping table, managers can input "Room 201, Bed No. 1, 2nd Floor, Building 3" to obtain the code C01-B03-F02-R201-B01 in a forward query; inputting the code can also reversely resolve the complete physical location information, achieving bidirectional positioning.
[0035] S04: Binding Business Data with Codes The system binds various accommodation management business data with corresponding bed codes: Check-in Management: When a student checks in, their student ID, name, check-in time, and accommodation status are linked to the corresponding bed code to form a one-to-one check-in relationship; when a student changes accommodations, the original bed code is terminated and a new bed code is established, while the original binding record is retained.
[0036] Asset Management: The assets associated with each bed, such as the bed frame, wardrobe, desk, dedicated socket, and individual meter branch, are linked to the corresponding bed code to form a "space-asset" binding relationship.
[0037] Repair and Inspection: When students or administrators submit a repair work order, they can directly select the corresponding bed code. The work order content, processing results, and maintenance personnel information will all be written back to that code. Hygiene inspections and violation records are also bound to the corresponding bed code.
[0038] S05: Minimum Unit Lifecycle Management The system sets a status field for each bed code, including active, occupied, vacant, under maintenance, disabled, and under adjustment. A normally vacant bed is marked "vacant," which changes to "occupied" after a student moves in, "under maintenance" during facility repairs, and "disabled" when the dormitory is being renovated.
[0039] All status changes are recorded with the change time and the operator, preserving a complete historical track; the system does not directly delete existing coded records, ensuring that historical business data always has a corresponding spatial anchor point.
[0040] S06: Refined Ledger Management In the management system, administrators can browse level by level from campus to building to floor to room to view all bed units under each room and their real-time status; they can also look up the corresponding bed code by student ID, asset number, or work order number.
[0041] Clicking on a single bed code allows you to view the complete ledger for that bed: current occupant information, historical occupancy records, a list of linked assets, equipment operation data, historical repair work orders, hygiene inspection records, violation records, and the person responsible for management, achieving the management effect of "one code, all information".
[0042] S07: Statistical Summary and Behavioral Analysis The system uses bed number as the finest granularity and aggregates statistics level by level upwards: Room-level statistics: Number of occupants, number of vacant beds, total number of repair requests, and average cleanliness score; Floor-level statistics: occupancy rate, maintenance frequency, and hygiene compliance rate of each floor; Building and campus dimensions: Statistics on overall occupancy rate, vacancy rate, asset integrity rate, and work order processing time.
[0043] Based on continuous bed-level data, the system can also conduct accommodation behavior analysis, such as student dormitory transfer frequency, bed turnover cycle, facility wear and tear patterns, and weak points in hygiene management, providing data support for logistics management decisions.
[0044] Example 2: Application of Coding Traceability after Dormitory Space Adjustment This embodiment addresses the scenario of space adjustment due to dormitory renovation, illustrating the historical traceability capability of this method.
[0045] Room 201 on the second floor of Building 3 of a certain university was originally a four-person room with four beds, corresponding to codes C01-B03-F02-R201-B01 to C01-B03-F02-R201-B04. Each code has historical occupancy records, repair reports, and inspection records.
[0046] Due to dormitory renovations, this room has been converted into a double room, requiring the removal of two beds. The system will then perform the following operations: 1. Change the status of codes C01-B03-F02-R201-B03 and C01-B03-F02-R201-B04 to "disabled", record the disabling time, the reason for the adjustment and the operator, and retain all historical business data under the two codes completely without deletion or migration.
[0047] 2. Codes C01-B03-F02-R201-B01 and C01-B03-F02-R201-B02 remain active and continue to handle subsequent check-in and management services.
[0048] After the spatial adjustment is completed, the system can perform two types of statistics and traceability: Real-time statistics: Based on the code of the current activation status, calculate real-time indicators such as room capacity and occupancy rate to accurately reflect the current space configuration; Historical tracking: Select any point in time before the adjustment, and the system can restore the number of beds, occupants, and business records at that point in time, fully tracing the spatial status and management data before the renovation, avoiding the loss or distortion of historical data due to spatial adjustments.
[0049] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A campus accommodation management behavior analysis method based on the smallest dormitory unit coding, characterized in that: Includes the following steps: 1) Decomposition of dormitory physical space hierarchy and determination of the smallest unit: According to the campus space hierarchy, it is divided into campus, area, building, floor, room and the smallest dormitory unit. The smallest dormitory unit is the bed or fixed space point in the dormitory room. The smallest dormitory unit is determined as the basic space object of online accommodation management. 2) Generate a unique code for the smallest hierarchical dormitory unit: According to the preset unified coding rules, generate a globally unique identification code for each smallest dormitory unit; the code includes the campus code segment, building code segment, floor code segment, room code segment and unit code segment in sequence. The code is bound to the offline physical space and does not change with the change of residents or equipment assets. 3) Establish an online space mapping table: Construct a minimum dormitory unit mapping data table to store the association between the code of each minimum dormitory unit and the corresponding physical space attributes, supporting forward positioning from physical location to code, and reverse query from code to offline space; 4) Unified binding of business data and unit codes: The business data of the entire campus accommodation management process is associated and bound with the code of the corresponding smallest dormitory unit, and the code of the smallest dormitory unit is used as the unified spatial primary key for the entire business scenario; 5) Full lifecycle status management of the smallest dormitory unit: Set status fields and historical version records for each smallest dormitory unit. When the dormitory space is adjusted or changed, the historical status data of the original code is retained, so as to trace the space ownership and management responsibility by time. 6) Refined digital management based on coding: Relying on the coding of the smallest dormitory unit, multi-dimensional spatial query and unified ledger management are realized. All business data are collected around a single smallest dormitory unit to form a complete spatial management archive. 7) Code-based hierarchical aggregation and behavior analysis: Starting with the smallest dormitory unit as the bottom data granularity, the data is aggregated upwards to the dimensions of room, floor, building, and campus to generate accommodation management statistical indicators, and accommodation behavior analysis is carried out based on multi-dimensional data.
2. The campus accommodation management behavior analysis method based on the smallest dormitory unit coding according to claim 1, characterized in that, In step 2), the encoding adopts a segmented hierarchical structure, with an example format of C01-B03-F02-R201-B01, where C01 is the campus code, B03 is the building code, F02 is the floor code, R201 is the room code, and B01 is the unit code within the room; the length of each segment of the encoding is fixed, and it supports direct parsing of spatial hierarchy information through the encoding.
3. The campus accommodation management behavior analysis method based on the smallest dormitory unit coding according to claim 1, characterized in that, In step 3), the fields of the minimum dormitory unit mapping data table include: minimum unit code, campus name, building number, floor number, room number, unit name, space status, activation time, deactivation time, parent space code, sorting number, and remarks.
4. The campus accommodation management behavior analysis method based on the smallest dormitory unit coding according to claim 1, characterized in that, In step 4), the business data bound to the smallest dormitory unit code includes: student check-in information, dormitory transfer and check-out records, asset configuration information, equipment access data, repair work order records, inspection records, hygiene inspection records, and violation records.
5. The campus accommodation management behavior analysis method based on the smallest dormitory unit coding according to claim 1, characterized in that, In step 5), the status of the smallest dormitory unit includes: activated, occupied, vacant, under maintenance, deactivated, and under adjustment. When room merging or splitting, bed addition or reduction, or equipment relocation occurs, the system records the spatial change process through status change, start / stop time markers, and version numbers, without deleting historical coded data.
6. The campus accommodation management behavior analysis method based on the smallest dormitory unit coding according to claim 1, characterized in that, In step 6), the unified ledger management supports: viewing the list of the smallest dormitory units by campus-building-floor-room, locating the corresponding space code by student information, asset number, and work order number, and querying the current occupant, historical occupancy records, bound asset list, equipment operating status, repair history, inspection records, and management responsibility information of a single smallest unit.
7. The campus accommodation management behavior analysis method based on the smallest dormitory unit coding according to claim 1, characterized in that, In step 7), the statistical indicators include: occupancy rate, vacancy rate, number of maintenance work orders, asset integrity rate, hygiene inspection completion rate, and violation rate; the behavioral analysis includes: resident flow patterns, space utilization efficiency, facility wear and tear trends, and hygiene management compliance analysis.
8. The campus accommodation management behavior analysis method based on the smallest dormitory unit coding according to claim 1, characterized in that, When the smallest dormitory unit is a bed, one bed code corresponds to one student, and is also linked to the bed frame, locker, dedicated socket, and meter branch assets associated with that bed; when the smallest dormitory unit is a fixed spatial location, it corresponds to the location of public equipment, public storage area, or management responsibility point in the room.
