# Classroom Visualization Based on the Relationship between User Roles and Scene Content

Authors: Yingzhi Li; Di Yu; Kan Yu; Xi Chen
Journal: Scientific Programming
 (2022)

---

## Abstract

With the increasing complexity of the internal structure of university classrooms and the increasing amount of time humans spend indoors, indoor classroom scenes have become an important part of people’s daily lives. Compared with open outdoor space, indoor environments are more complex in terms of 3D models, spatial layouts, feature types, and connectivity relationships, especially for large indoor buildings that often contain a large amount of information. This paper introduces the development tools and common rendering techniques of Unity3D game engine, explores the visualization model of a single object, designs a regional comparison algorithm to calculate the visualization intensity, and establishes a 3D visualization intensity mapping table. The classroom is equipped with visualization effect, which makes students get comfortable and at ease in classroom learning, and the comfort level of this paper’s solution is improved by 8% compared with other IoT-based solutions.


---

## Body

## 1. Introduction

With the increasing complexity of the internal structure of university classrooms and the increasing amount of time spent indoors, indoor maps have become an important part of people’s daily lives. Compared with the outdoor open space, the indoor environment of classrooms is more complex in terms of three-dimensional models, spatial layout, feature types, and connectivity, especially for large indoor buildings, which usually contain a lot of information [1, 2]. Classroom interior space has three outstanding features: (1) the internal pattern is complex. The interior space of university classrooms is clearly divided, usually with multiple floors, and the internal space is intricately connected and divided. (2) The view is highly obscured, with a large number of vertical and horizontal walls and indoor artificial facilities not only blocking people’s view, but also hindering people’s understanding of the overall spatial structure of the room and limiting their access to local information. (3) The access conditions are special [3–5]. There is no obvious road in the indoor space. However, access through open space enables people to locate themselves quickly and accurately.Due to the complexity of classroom indoor environments, unadorned visualization of stacked features will not provide users with valuable information. Therefore, indoor map visualization that can be adapted to different application contexts, different user purposes, and different scene patterns has application value [6]. Such user-centered maps, also called personalized maps and adaptive maps, are important applications of indoor maps and location services. By establishing the mapping relationship between users and maps, the map expression content and representation method are dynamically changed in real time, and the personalized service method of the map is changed from the operation interaction between users and maps to autonomous push [7, 8]. Therefore, it is a very meaningful research direction to make full use of the visual advantages of 3D maps, to integrate user cognitive features and specific needs with map display interaction, to dynamically and effectively visualize the indoor scenes of classrooms, and to realize user personalized 3D visualization of indoor scenes.Traditional map representation is the design process of map content, symbol system, representation method, preparation principle, and drawing mechanism under the premise of clear map usage, expression content, output form, etc. The content and manner of map representation are completed before cartography, and the map effect is closely related to the level of designers [9, 10]. However, in the adaptive visualization map, except for describing the basic information of indoor space such as the layout of fixed facilities and the structure of university classrooms, all other information is triggered and drawn in real time; the process of extracting the representation content, selecting the representation method, and symbolizing and drawing the map is done dynamically; and the effect of using the map in the user’s presence in the mobile state should be taken into account. Some studies show that in indoor map services, map design, especially the design of dynamic map representation, is the most important factor affecting the effectiveness of indoor map services and is an urgent problem for indoor map services [11].In view of the above urgent needs and existing conditions, the research in this paper revolves around user roles and scene contents, constructs the association relationship between them, and mines valuable information about the current environment based on ontological semantic reasoning. Secondly, we define the visualization model of classroom indoor scenes, combine user and environment information, and dynamically present 3D maps to realize user-centered visual representation of classroom indoor scenes. This indoor visualization method that associates user roles with scene contents is important for providing personalized and intelligent services in classroom indoor environments.


## 2. Related Work

This paper proposes the indoor visualization method of user role and scene content association, which establishes the mapping relationship between user and indoor map from both user role and scene content, so that the map expression content and representation method change dynamically in real time, and therefore is an adaptive map visualization, i.e., the theory and method of organically organizing spatial data and establishing user-centered indoor adaptive map [12]. At the same time, the method proposed in this paper is applied to the visualization of the indoor environment, and it is necessary to explore the indoor map representation related to it. Therefore, this paper will explore the current status of domestic and international research on both adaptive map visualization and indoor map representation.


### 2.1. Adaptive Map Visualization

The proposal of adaptive map visualization research can be traced back to as early as 1998. Subsequently, a large number of studies have extended and expanded the framework, and some highly valuable research results have emerged. For example, [13] provides a more comprehensive discussion on the user model of adaptive maps, adaptive spatial database design, and adaptive symbol design and establishes an adaptive strategy framework. However, in the field of 3D visualization, the research scope is mainly on urban scale scenes. Reference [14] studied a multi-detail level management method based on 3D R-tree indexing and proved through experimental analysis that its defined parameters can quantitatively adjust the scene complexity and thus adaptively control the detail level of 3D model visualization. For example, [15] proposes a novel application of focus + context scaling technique that can be used to zoom in on navigation paths and their related features in 3D urban environments as a way to effectively reveal the focus area; [16] shows a technique to automatically generate 3D virtual city models and dynamically zoom in on landmark objects. In addition, there are many related studies at home and abroad, but in terms of their research contents and progress, most of them focus on the adaptive strategies of electronic maps or the efficiency of big data display of 3D scenes, and there are fewer studies on 3D visualization for indoor environments [17].User model, as one of the core elements of adaptive map visualization, is a collection of rules for users in terms of interface, data amount, map representation, etc., generated based on user background information, historical behavior records, and initial adaptive rules, and is the core of the system constituting adaptive map visualization. In the study of user models for adaptive maps, [18] earlier proposed user modeling applicable to adaptive maps and applied it initially to urban tourism. A large amount of literature was then devoted to the study of user models, covering the classification of user models, representation methods, example applications, etc. Reference [19] designed a preliminary mechanism for adaptive user interfaces for map visualization systems and explored ways to make the system’s user interface automatically adapt to user features. Reference [20] proposed a map representation and visualization model, user model construction, and matching algorithm in adaptive map visualization system. Reference [21] established an adaptive representation model of navigation electronics maps content by analyzing the user’s background information, behavioral habits, and other information and used the plain Bayesian algorithm for model matching. Reference [22] studied the characteristics of context-aware mobile device based on adaptive user interface and established a context-driven mobile device based adaptive user interface model.


### 2.2. Indoor Map Representation

In the area of indoor map representation, many research results have also been achieved in recent years. Reference [23] proposed a method for displaying and navigating indoor location maps by using a mobile terminal with a camera to superimpose path information on a paper map. Reference [24] proposed an indoor access representation method that can represent the topological relationship of cross-floor access from the perspective of underground pipeline maps. In [25], the form of map expression suitable for spatial cognitive results was studied, and three visualization techniques for road network framing diagrams, oriented to road network cognitive expression and suitable for mental image map expressive features, were proposed. The research team of [26] conducted special theoretical and technical methods from indoor maps, location maps, and mobile maps and achieved various results; [27] focused on the indoor map representation methods under single-floor, multi-floor, and indoor-outdoor switching conditions; and [28] studied the dynamic mapping process and mechanism of mobile maps based on the cognitive semantic theory and established the dynamic mapping of mobile maps model.Indoor spatial scene modeling, as a research part of indoor scenes, is important for indoor map representation. Indoor GML spatial standard describes the basic semantic information of indoor space, lacking complex semantic relationships such as opposite and upstairs, without user-centered information expression [29]. The above model standards focus on the construction, storage, and display of 3D models, ignoring the role of the user in the 3D scene, who is more like a “visitor” than a “participant” who can change the scene. On this basis, [30] proposes indoor ontology modeling for holographic location maps, which defines the semantic concepts, attributes, and relationships of indoor space based on the association of people, things, and objects, and improves the indoor space ontology modeling method. In this paper, we hope to use the existing results of the above model to propose the association model of user model and indoor scene in indoor environment.


## 2.1. Adaptive Map Visualization

The proposal of adaptive map visualization research can be traced back to as early as 1998. Subsequently, a large number of studies have extended and expanded the framework, and some highly valuable research results have emerged. For example, [13] provides a more comprehensive discussion on the user model of adaptive maps, adaptive spatial database design, and adaptive symbol design and establishes an adaptive strategy framework. However, in the field of 3D visualization, the research scope is mainly on urban scale scenes. Reference [14] studied a multi-detail level management method based on 3D R-tree indexing and proved through experimental analysis that its defined parameters can quantitatively adjust the scene complexity and thus adaptively control the detail level of 3D model visualization. For example, [15] proposes a novel application of focus + context scaling technique that can be used to zoom in on navigation paths and their related features in 3D urban environments as a way to effectively reveal the focus area; [16] shows a technique to automatically generate 3D virtual city models and dynamically zoom in on landmark objects. In addition, there are many related studies at home and abroad, but in terms of their research contents and progress, most of them focus on the adaptive strategies of electronic maps or the efficiency of big data display of 3D scenes, and there are fewer studies on 3D visualization for indoor environments [17].User model, as one of the core elements of adaptive map visualization, is a collection of rules for users in terms of interface, data amount, map representation, etc., generated based on user background information, historical behavior records, and initial adaptive rules, and is the core of the system constituting adaptive map visualization. In the study of user models for adaptive maps, [18] earlier proposed user modeling applicable to adaptive maps and applied it initially to urban tourism. A large amount of literature was then devoted to the study of user models, covering the classification of user models, representation methods, example applications, etc. Reference [19] designed a preliminary mechanism for adaptive user interfaces for map visualization systems and explored ways to make the system’s user interface automatically adapt to user features. Reference [20] proposed a map representation and visualization model, user model construction, and matching algorithm in adaptive map visualization system. Reference [21] established an adaptive representation model of navigation electronics maps content by analyzing the user’s background information, behavioral habits, and other information and used the plain Bayesian algorithm for model matching. Reference [22] studied the characteristics of context-aware mobile device based on adaptive user interface and established a context-driven mobile device based adaptive user interface model.


## 2.2. Indoor Map Representation

In the area of indoor map representation, many research results have also been achieved in recent years. Reference [23] proposed a method for displaying and navigating indoor location maps by using a mobile terminal with a camera to superimpose path information on a paper map. Reference [24] proposed an indoor access representation method that can represent the topological relationship of cross-floor access from the perspective of underground pipeline maps. In [25], the form of map expression suitable for spatial cognitive results was studied, and three visualization techniques for road network framing diagrams, oriented to road network cognitive expression and suitable for mental image map expressive features, were proposed. The research team of [26] conducted special theoretical and technical methods from indoor maps, location maps, and mobile maps and achieved various results; [27] focused on the indoor map representation methods under single-floor, multi-floor, and indoor-outdoor switching conditions; and [28] studied the dynamic mapping process and mechanism of mobile maps based on the cognitive semantic theory and established the dynamic mapping of mobile maps model.Indoor spatial scene modeling, as a research part of indoor scenes, is important for indoor map representation. Indoor GML spatial standard describes the basic semantic information of indoor space, lacking complex semantic relationships such as opposite and upstairs, without user-centered information expression [29]. The above model standards focus on the construction, storage, and display of 3D models, ignoring the role of the user in the 3D scene, who is more like a “visitor” than a “participant” who can change the scene. On this basis, [30] proposes indoor ontology modeling for holographic location maps, which defines the semantic concepts, attributes, and relationships of indoor space based on the association of people, things, and objects, and improves the indoor space ontology modeling method. In this paper, we hope to use the existing results of the above model to propose the association model of user model and indoor scene in indoor environment.


## 3. Introduction to Related Concepts and Theories

### 3.1. User Roles and Scenario Content

User personas are a way of classifying users to build a user model, which divides user groups in the form of personas. User model refers to the description, classification, and identification of user background information, user behavior information, user scenario information, and user cognitive rules. User background information describes the basic characteristics of users in terms of education, culture, society, economy, and nature; user behavior information is the record of all operations of users on data, interfaces, and functions, which is the basis of user model analysis; user scene information includes user purpose, current location, speed, time, brightness, and direction [15]; user cognitive rules include those influenced by users’ visual saturation, color contrast, symbolic cognitive ability, and information acquisition ability, as well as the guidelines that need to be followed when designing the map. The role concept is the role played by a user in the context. Roles can reflect both the user’s interests (e.g., the user’s professional characteristics imply his or her range of interests) and the user’s behavior (e.g., tourists and other role types with behavioral purpose). At the same time, roles are temporal in nature; a user may have multiple roles at the same time to describe multiple aspects of his or her characteristics, and a user can have different roles at different times.


### 3.2. Theoretical Approach to Ontology Modeling

An ontology is a shared conceptualization of knowledge in a particular domain. Originally ontology is a philosophical concept, an abstract and systematic explanation of the nature of objective existence. In recent years, information abstraction and knowledge description tools have been widely used in the field of computing. Many people have given different levels of understanding about ontology in their research history, among which Gruber’s definition has received much recognition, which considers ontology as an explicit normative description of a conceptual model. Reference [3] also elaborates on the definition of ontology, which is a formal normative description of a shared conceptual model.At present, the more mature, commonly used, and well-known ontology construction tools mainly include Apollo [14], OilEd [16], OntoEdit [18], Prot6g6 [19], and WebODE [19]. Prot6g6, ontology editing and knowledge acquisition software, is open source software developed by Stanford University School of Medicine Bioinformatics Research Center based on Java language, mainly used for the construction of ontologies in the semantic web, and is a common development tool for ontology modeling. It provides methods for the construction of ontology concepts, relationships, attributes, and instances and hides the specific ontology description language. The ontology structure of Prot6g6 is represented by a tree hierarchy, and users can add or edit classes, subclasses, instances, etc. by clicking the corresponding items. Therefore, users do not need to master the specific ontology representation language to use it, which makes it a relatively easy to learn and master ontology development tool. In this paper, we use Prot6g6 software and OWL modeling language for ontology modeling of user characteristics and indoor scenes according to specific research needs.


## 3.1. User Roles and Scenario Content

User personas are a way of classifying users to build a user model, which divides user groups in the form of personas. User model refers to the description, classification, and identification of user background information, user behavior information, user scenario information, and user cognitive rules. User background information describes the basic characteristics of users in terms of education, culture, society, economy, and nature; user behavior information is the record of all operations of users on data, interfaces, and functions, which is the basis of user model analysis; user scene information includes user purpose, current location, speed, time, brightness, and direction [15]; user cognitive rules include those influenced by users’ visual saturation, color contrast, symbolic cognitive ability, and information acquisition ability, as well as the guidelines that need to be followed when designing the map. The role concept is the role played by a user in the context. Roles can reflect both the user’s interests (e.g., the user’s professional characteristics imply his or her range of interests) and the user’s behavior (e.g., tourists and other role types with behavioral purpose). At the same time, roles are temporal in nature; a user may have multiple roles at the same time to describe multiple aspects of his or her characteristics, and a user can have different roles at different times.


## 3.2. Theoretical Approach to Ontology Modeling

An ontology is a shared conceptualization of knowledge in a particular domain. Originally ontology is a philosophical concept, an abstract and systematic explanation of the nature of objective existence. In recent years, information abstraction and knowledge description tools have been widely used in the field of computing. Many people have given different levels of understanding about ontology in their research history, among which Gruber’s definition has received much recognition, which considers ontology as an explicit normative description of a conceptual model. Reference [3] also elaborates on the definition of ontology, which is a formal normative description of a shared conceptual model.At present, the more mature, commonly used, and well-known ontology construction tools mainly include Apollo [14], OilEd [16], OntoEdit [18], Prot6g6 [19], and WebODE [19]. Prot6g6, ontology editing and knowledge acquisition software, is open source software developed by Stanford University School of Medicine Bioinformatics Research Center based on Java language, mainly used for the construction of ontologies in the semantic web, and is a common development tool for ontology modeling. It provides methods for the construction of ontology concepts, relationships, attributes, and instances and hides the specific ontology description language. The ontology structure of Prot6g6 is represented by a tree hierarchy, and users can add or edit classes, subclasses, instances, etc. by clicking the corresponding items. Therefore, users do not need to master the specific ontology representation language to use it, which makes it a relatively easy to learn and master ontology development tool. In this paper, we use Prot6g6 software and OWL modeling language for ontology modeling of user characteristics and indoor scenes according to specific research needs.


## 4. A 3D Visualization Method Based on Associative Reasoning

### 4.1. Rendering Techniques for 3D Scenes

This study explores the 3D visual display model of a university classroom and implements 3D rendering on the Unity3D game engine, so this section will briefly introduce the Unity3D game engine.Unity3D game engine is 3D development software that supports cross-platform and has a high A rate in the current 3D engine market. It has a complete graphics rendering subsystem, network subsystem, physics subsystem, audio and video subsystem, editorial system, shading system, and GUI system. Unity3D has good support for mainstream dimensional modeling tools, an excellent design environment, perishable design flow, and fast and easy to operate scene editor. The final program can not only be embedded in the browser environment to run directly, but also support multiplatform applications; these advantages make it the engine of choice for 3D games and virtual simulation projects. In 3D games, virtual reality, Web3D, and other fields have a wide range of applications.(1)
Unity3D components: the properties of each object in the Unity3D scene are composed of individual pieces, which are the behavior and care of the objects in the scene, and they are the functional modules of the objects. There are many kinds of Unity3D components; the common ones are scripting class, particle class, physics class, sound class, rendering class, etc. [20].(2)
Unity3D scripting: Unity3D scripting is essentially a custom functional component. It is a code segment that implements specific functions by calling functional components of Unity3D or prepackaged real-time runtime classes, according to the data input and output situation, business process, result display, and other requirements [8].(3)
Development tools: MonoDevelop is a cross-platform open source integrated development environment, integrating many Eclipse and Microsoft Visual Studio features and currently supporting languages such as C#, Java, Boo, and Visual Basic. The default is to use MonoDevelop to program and implement Unity3D scripting programs.Colorful rendering effects can be programmed and controlled by the program. A shade is a program that can be manipulated by objects and executed by the GPU. Programmers can use these programs to obtain most of the desired dimensional graphics effects. Shaders are divided into Vertex Shader and Pixel Shader. Shaders replace the traditional fixed rendering pipeline and make it possible to compute dimensional graphics. Due to the editable nature of shades, a wide variety of image effects can be achieved without being limited by the fixed rendering pipeline of the graphics card, thus greatly improving image quality [21].This paper presents examples of two rendering techniques applied in this study, namely, glow effects and epi-glow effects. Glow and halos of light sources are phenomena found everywhere in nature, and they provide strong visual information about brightness and atmosphere. When viewing computer graphics, film, and print, the intensity of light reaching the eye is limited, so the only way to identify the intensity of light sources is through their surrounding glow and halo using modern graphics hardware; you can reproduce this effect through some simple rendering operations. When we trivialize a scene rendered in real time with bright and interesting objects, the objects will look more realistic or fantastic. To achieve the glow effect, you must first isolate and separate the growing parts of the scene or model from the non-glowing parts by some method. The scene is rendered as normal without the glow, and a texture map is created using the glow source information, which is black everywhere except for the glow source. This rendered texture map can be used as a normal texture in the later rendering. For the simple ensemble, a two-step image convolution operation is performed with multiple samples at each pixel, so that the points of the glow source are painted outward as a blurred, large glow mass, and finally the blurred glow is applied to the top of the normal rendering using additional alpha blending. In this way, using hardware rendering and texture mapping, the flow source is expanded into a convincing glow atmosphere. The glow effect before and after rendering is shown in Figures1 and 2.Figure 1
Glow effect (not rendered).Figure 2
Glow effect (rendered).The outer glow effect is like an extra layer on the outside of the object; the imaginary layer is filled with a slightly larger range than the above and is a blend of screen transparency and object mode, resulting in a “glow” effect on the outer edge of the layer. This effect can be used to show the outline of the object as well as to blur the object and even vary the glow in a variety of ways. To see the outer glow effect in the background, you must first detect the edge of the object, and the angle between surfaces can be determined by using incident light and perpendicular to the outer surface of the object. The outer glow layer is like an extra layer on the F-side of the layer, and the screen transparency will affect the blending effect of the display of the object. In addition to expanding, the outer light has a gradient speed between the area of color and completely transparent area; the color and intensity of the outer and inner light can be adjusted to achieve a more desirable effect. A variety of external light effects are displayed as showing in Figure3.Figure 3
Display of various external light-emitting effects.


## 4.1. Rendering Techniques for 3D Scenes

This study explores the 3D visual display model of a university classroom and implements 3D rendering on the Unity3D game engine, so this section will briefly introduce the Unity3D game engine.Unity3D game engine is 3D development software that supports cross-platform and has a high A rate in the current 3D engine market. It has a complete graphics rendering subsystem, network subsystem, physics subsystem, audio and video subsystem, editorial system, shading system, and GUI system. Unity3D has good support for mainstream dimensional modeling tools, an excellent design environment, perishable design flow, and fast and easy to operate scene editor. The final program can not only be embedded in the browser environment to run directly, but also support multiplatform applications; these advantages make it the engine of choice for 3D games and virtual simulation projects. In 3D games, virtual reality, Web3D, and other fields have a wide range of applications.(1)
Unity3D components: the properties of each object in the Unity3D scene are composed of individual pieces, which are the behavior and care of the objects in the scene, and they are the functional modules of the objects. There are many kinds of Unity3D components; the common ones are scripting class, particle class, physics class, sound class, rendering class, etc. [20].(2)
Unity3D scripting: Unity3D scripting is essentially a custom functional component. It is a code segment that implements specific functions by calling functional components of Unity3D or prepackaged real-time runtime classes, according to the data input and output situation, business process, result display, and other requirements [8].(3)
Development tools: MonoDevelop is a cross-platform open source integrated development environment, integrating many Eclipse and Microsoft Visual Studio features and currently supporting languages such as C#, Java, Boo, and Visual Basic. The default is to use MonoDevelop to program and implement Unity3D scripting programs.Colorful rendering effects can be programmed and controlled by the program. A shade is a program that can be manipulated by objects and executed by the GPU. Programmers can use these programs to obtain most of the desired dimensional graphics effects. Shaders are divided into Vertex Shader and Pixel Shader. Shaders replace the traditional fixed rendering pipeline and make it possible to compute dimensional graphics. Due to the editable nature of shades, a wide variety of image effects can be achieved without being limited by the fixed rendering pipeline of the graphics card, thus greatly improving image quality [21].This paper presents examples of two rendering techniques applied in this study, namely, glow effects and epi-glow effects. Glow and halos of light sources are phenomena found everywhere in nature, and they provide strong visual information about brightness and atmosphere. When viewing computer graphics, film, and print, the intensity of light reaching the eye is limited, so the only way to identify the intensity of light sources is through their surrounding glow and halo using modern graphics hardware; you can reproduce this effect through some simple rendering operations. When we trivialize a scene rendered in real time with bright and interesting objects, the objects will look more realistic or fantastic. To achieve the glow effect, you must first isolate and separate the growing parts of the scene or model from the non-glowing parts by some method. The scene is rendered as normal without the glow, and a texture map is created using the glow source information, which is black everywhere except for the glow source. This rendered texture map can be used as a normal texture in the later rendering. For the simple ensemble, a two-step image convolution operation is performed with multiple samples at each pixel, so that the points of the glow source are painted outward as a blurred, large glow mass, and finally the blurred glow is applied to the top of the normal rendering using additional alpha blending. In this way, using hardware rendering and texture mapping, the flow source is expanded into a convincing glow atmosphere. The glow effect before and after rendering is shown in Figures1 and 2.Figure 1
Glow effect (not rendered).Figure 2
Glow effect (rendered).The outer glow effect is like an extra layer on the outside of the object; the imaginary layer is filled with a slightly larger range than the above and is a blend of screen transparency and object mode, resulting in a “glow” effect on the outer edge of the layer. This effect can be used to show the outline of the object as well as to blur the object and even vary the glow in a variety of ways. To see the outer glow effect in the background, you must first detect the edge of the object, and the angle between surfaces can be determined by using incident light and perpendicular to the outer surface of the object. The outer glow layer is like an extra layer on the F-side of the layer, and the screen transparency will affect the blending effect of the display of the object. In addition to expanding, the outer light has a gradient speed between the area of color and completely transparent area; the color and intensity of the outer and inner light can be adjusted to achieve a more desirable effect. A variety of external light effects are displayed as showing in Figure3.Figure 3
Display of various external light-emitting effects.


## 5. Three-Dimensional Visualization Performance Intensity Mapping Table

### 5.1. Single-Object Visual Representation Method

The visualization information of indoor scenes is colorful and difficult to be accurately classified and summarized; however, complex indoor scenes are composed of independent objects that can be divided into different types of objects, so it is important to explore the visualization information of a single object sufficient to simplify complex scenes. In this paper, based on the visual perception of human eyes, the visualization information of a single object is divided into four subtypes of information: light information, color information, motion information, and text information, and several basic visualization methods are listed for each subtype; see Table1.(1)
Light information refers to the light of the object in the three-dimensional display. This mode determines the vast majority of the object display form. According to the sensitivity of the human comedian to light, this paper divides the light mode into five visualization expressions: hidden, transparent, normal, glowing, and twinkling. Figure4 illustrates the performance of the above five visualization methods. On the basis of this, colorful color rendering and visual effects can be added to make the 3D visualization of objects more diverse and hierarchical.(2)
Color information refers to the color of the object in the three-dimensional display. Distinguish objects according to the ability of the human eye to distinguish colors. This paper takes red and green as a typical representative example, and encodes the color according to the same method.(3)
Motion mode refers to the form of motion of the object in the three-dimensional display. The human eye is more sensitive to moving objects than stationary objects, so moving objects are more likely to attract the user’s attention. Jumping, rotation, and other motion modes added to the display mode of the object can significantly enhance the visual effect of the object.(4)
Text information refers to whether the three-dimensional display of the object appears when people are immersed in the world of virtual roaming; text display can attract attention, indicating to the user that this is an important scene object. In the above coding example, 90 kinds of object visualization information are obtained by free combination.Table 1
Single object visualization information.
InformationInformation subtypeVisualization modeCodeScoreObject visualization informationOptical informationHidden1.12Transparent1.24Normal1.36Glowing1.487Twinkling1.510NormalC13.3Color informationGulesC26.7GreenC310NormalM13.3Motion informationRotationM26.7JumpingM310Text messageNo textT15Having textT210Figure 4
Optical information visualization.


### 5.2. Indoor Scene Performance Intensity Mapping Table

This paper provides an area comparison method to evaluate the visual effect of 3D visualization performance. As shown in Figure5, the four directional axes of the coordinate system represent the four subtypes of information, forming a visual area, representing the intensity of object visualization performance, and the area is calculated and compared to evaluate and grade the visualization effect of 90 objects. The specific formula is as follows: (1)reascore=L+CM+T,where L, C, M, and T represent the light information score, color information score, motion information score, and text information score.Figure 5
Example of a regional scoring map.For example, the area score of object visualization mode 1 [L1C1M1T1] is 4.4, which consists of 2 points for hidden light information, 3.3 points for normal color information, 3.3 points for normal motion information, and 5 points for no text prompt information. The area score of object visualization mode 2 [L5C3M1T1] is 400, which consists of 10 points for twinkling light information, 10 points for green information, 10 points for rotational motion information, and 10 points for text prompt information. The area of object visualization mode 2 is significantly larger than that of object visualization mode 1, thus leaving more impressions on users. Therefore, object visualization mode is 2 [L5C3M1T1] was judged to have a higher score [5]. The area comparison method is a relatively simple scoring calculation, and in order to judge the visualization effect more accurately, it is necessary to make some manual selection after the preprocessing of this method to screen out some visualization performance modes that are obviously out of the ordinary. The final result is shown in Table 2, which is called the 3D visualization intensity mapping table, and the area score is the score of the area comparison method. 3D visualization strength mapping table will now give examples of visualization with reasonable visual effects, graded from weak to strong according to the strength of the effect, to correspond to the list of important levels of reasoning results in the previous section. The specific use will be explained in detail in the next section on the visual representation algorithm for associative reasoning.Table 2
3D visualization performance intensity mapping table.
Object visualizationArea scoreNormalizationOptical informationColor informationMotion informationText messageL1Default0Hidden———L2CIM1T1610.15TransparentNormalNormalNo textL3CIM1T1770.19NormalNormalNormalNo textL3CIM1T21240.31TwinklingGulesNormalHaving textL4C2M1T11310.33TwinklingGulesNormalNo textL3C2M1T11390.35GlowingGreenNormalNo textL4C3M1T11490.37TwinklingGreenRotationNo textL5C3M1T11700.43GlowingGulesRotationNo text


## 5.1. Single-Object Visual Representation Method

The visualization information of indoor scenes is colorful and difficult to be accurately classified and summarized; however, complex indoor scenes are composed of independent objects that can be divided into different types of objects, so it is important to explore the visualization information of a single object sufficient to simplify complex scenes. In this paper, based on the visual perception of human eyes, the visualization information of a single object is divided into four subtypes of information: light information, color information, motion information, and text information, and several basic visualization methods are listed for each subtype; see Table1.(1)
Light information refers to the light of the object in the three-dimensional display. This mode determines the vast majority of the object display form. According to the sensitivity of the human comedian to light, this paper divides the light mode into five visualization expressions: hidden, transparent, normal, glowing, and twinkling. Figure4 illustrates the performance of the above five visualization methods. On the basis of this, colorful color rendering and visual effects can be added to make the 3D visualization of objects more diverse and hierarchical.(2)
Color information refers to the color of the object in the three-dimensional display. Distinguish objects according to the ability of the human eye to distinguish colors. This paper takes red and green as a typical representative example, and encodes the color according to the same method.(3)
Motion mode refers to the form of motion of the object in the three-dimensional display. The human eye is more sensitive to moving objects than stationary objects, so moving objects are more likely to attract the user’s attention. Jumping, rotation, and other motion modes added to the display mode of the object can significantly enhance the visual effect of the object.(4)
Text information refers to whether the three-dimensional display of the object appears when people are immersed in the world of virtual roaming; text display can attract attention, indicating to the user that this is an important scene object. In the above coding example, 90 kinds of object visualization information are obtained by free combination.Table 1
Single object visualization information.
InformationInformation subtypeVisualization modeCodeScoreObject visualization informationOptical informationHidden1.12Transparent1.24Normal1.36Glowing1.487Twinkling1.510NormalC13.3Color informationGulesC26.7GreenC310NormalM13.3Motion informationRotationM26.7JumpingM310Text messageNo textT15Having textT210Figure 4
Optical information visualization.


## 5.2. Indoor Scene Performance Intensity Mapping Table

This paper provides an area comparison method to evaluate the visual effect of 3D visualization performance. As shown in Figure5, the four directional axes of the coordinate system represent the four subtypes of information, forming a visual area, representing the intensity of object visualization performance, and the area is calculated and compared to evaluate and grade the visualization effect of 90 objects. The specific formula is as follows: (1)reascore=L+CM+T,where L, C, M, and T represent the light information score, color information score, motion information score, and text information score.Figure 5
Example of a regional scoring map.For example, the area score of object visualization mode 1 [L1C1M1T1] is 4.4, which consists of 2 points for hidden light information, 3.3 points for normal color information, 3.3 points for normal motion information, and 5 points for no text prompt information. The area score of object visualization mode 2 [L5C3M1T1] is 400, which consists of 10 points for twinkling light information, 10 points for green information, 10 points for rotational motion information, and 10 points for text prompt information. The area of object visualization mode 2 is significantly larger than that of object visualization mode 1, thus leaving more impressions on users. Therefore, object visualization mode is 2 [L5C3M1T1] was judged to have a higher score [5]. The area comparison method is a relatively simple scoring calculation, and in order to judge the visualization effect more accurately, it is necessary to make some manual selection after the preprocessing of this method to screen out some visualization performance modes that are obviously out of the ordinary. The final result is shown in Table 2, which is called the 3D visualization intensity mapping table, and the area score is the score of the area comparison method. 3D visualization strength mapping table will now give examples of visualization with reasonable visual effects, graded from weak to strong according to the strength of the effect, to correspond to the list of important levels of reasoning results in the previous section. The specific use will be explained in detail in the next section on the visual representation algorithm for associative reasoning.Table 2
3D visualization performance intensity mapping table.
Object visualizationArea scoreNormalizationOptical informationColor informationMotion informationText messageL1Default0Hidden———L2CIM1T1610.15TransparentNormalNormalNo textL3CIM1T1770.19NormalNormalNormalNo textL3CIM1T21240.31TwinklingGulesNormalHaving textL4C2M1T11310.33TwinklingGulesNormalNo textL3C2M1T11390.35GlowingGreenNormalNo textL4C3M1T11490.37TwinklingGreenRotationNo textL5C3M1T11700.43GlowingGulesRotationNo text


## 6. Visual Representation Algorithm for Associative Reasoning

### 6.1. Visual Representation Algorithm Flow

This section proposes a visual representation algorithm based on associative reasoning, which maps the reasoning results to the representation intensity mapping table with priority and sets the visualization mode of each category of objects within the scene to perform the hierarchical rendering of the whole scene to achieve an effective scene visualization effect. The specific flow of the algorithm is shown in Figure6.(1)
Rule reasoning. Using the expression rule base and rule priorities in Section3, we filter out the indoor space or things associated with the user role by query function and get the result priority list sorted from strong to weak, which provides a preliminary inference result table for the visual mapping in the later steps.(2)
Focus calculation. We design role attributes to describe the focus of the role instance on the scene, added in the role instantiation. The focus of character instances with focus value greater than 1 is more bifurcated, and the things that need to be highlighted are more prominent, in order to strengthen the visual central visual. This step further provides a perfect inference result table for the visualization mapping later.(3)
Visual representation mapping table on the list of results of the mapping. According to the visual representation of a single object in the visual representation mapping table, the visual information pattern of each object is determined in order from strong to weak according to the existing inference result table. In the process of rendering indoor scenes, the weight in the rule inference process is adjusted, and the reasonable hierarchical visualization rendering will make the scene present a more distinctive hierarchical effect.(4)
Visualization performance updates. When the user information and scene information change, the rule inference and mapping process are reworked to dynamically adjust the visualization of objects in the scene. For example, as the user’s position keeps changing, the objects in the scene change, and the accessibility of the user to the objects also changes, so when the user’s position is detected to have changed, the indoor scene is rerendered to achieve the visualization effect update in the user’s view.Figure 6
Flow chart of visual representation algorithm.


### 6.2. Visual Representation Algorithm Application Examples

This section shows an example of a feasible visual rendering strategy for a typical indoor scene. A simplified indoor scene containing two adjacent regular rooms and a walkway with walls, doors, windows, and a small number of concrete objects in each space is used, as shown in Table3. This case study completes the inference process, visualization mapping, and indoor scene rendering with the user role visitor at the center to illustrate the specific application of the visual representation algorithm.Table 3
Simplified indoor scene examples.
Interior spaceSpace typeObjectNumberRoom 201RoomWallWall 201General spaceWindowWindow 201DoorDoor 201Touring statueTouring statue 001SofaSofa 201Room 203RoomWallWall 203WindowWindow 203DoorDoor 203Exhibition boardExhibition board 001DeskDesk 203Corridor 001CorridorWallWall 001WindowWindow 001PassagesExhibition boardExhibition board 002Transfer spaceFollowing the flow of the visual representation algorithm, the preliminary list of results is obtained using the correspondence rules of behavioral targets, the association rules of target things, and the association rules of topological relations in turn. Then, the association rules of semantic location are used and the weights are recalculated. Finally, the weights are calculated again using focus = 1.5 for visitor role instances, and the results of the weight calculation are shown in Table4.Table 4
List of weight calculation results.
Rule reasoningResult itemWeightSemantic location weightFocus calculated weightWeight reductionProfessional interest rules of social rolesTouring statue 001557.51.00Target objectExhibition board 00141.62.40.32Association rulesExhibition board 0024230.40Topological relationWall 2010.50.50.330.04Association rulesWindow 2010.50.50.330.04Door 201557.51.00Wall 2030.50.20.130.02Window 2030.50.20.130.02Door 2035230.40Wall 2010.50.250.170.02Window 0010.50.250.170.02Semantic positionSofa 201111.50.20Association rulesDesk 20310.40.270.04


## 6.1. Visual Representation Algorithm Flow

This section proposes a visual representation algorithm based on associative reasoning, which maps the reasoning results to the representation intensity mapping table with priority and sets the visualization mode of each category of objects within the scene to perform the hierarchical rendering of the whole scene to achieve an effective scene visualization effect. The specific flow of the algorithm is shown in Figure6.(1)
Rule reasoning. Using the expression rule base and rule priorities in Section3, we filter out the indoor space or things associated with the user role by query function and get the result priority list sorted from strong to weak, which provides a preliminary inference result table for the visual mapping in the later steps.(2)
Focus calculation. We design role attributes to describe the focus of the role instance on the scene, added in the role instantiation. The focus of character instances with focus value greater than 1 is more bifurcated, and the things that need to be highlighted are more prominent, in order to strengthen the visual central visual. This step further provides a perfect inference result table for the visualization mapping later.(3)
Visual representation mapping table on the list of results of the mapping. According to the visual representation of a single object in the visual representation mapping table, the visual information pattern of each object is determined in order from strong to weak according to the existing inference result table. In the process of rendering indoor scenes, the weight in the rule inference process is adjusted, and the reasonable hierarchical visualization rendering will make the scene present a more distinctive hierarchical effect.(4)
Visualization performance updates. When the user information and scene information change, the rule inference and mapping process are reworked to dynamically adjust the visualization of objects in the scene. For example, as the user’s position keeps changing, the objects in the scene change, and the accessibility of the user to the objects also changes, so when the user’s position is detected to have changed, the indoor scene is rerendered to achieve the visualization effect update in the user’s view.Figure 6
Flow chart of visual representation algorithm.


## 6.2. Visual Representation Algorithm Application Examples

This section shows an example of a feasible visual rendering strategy for a typical indoor scene. A simplified indoor scene containing two adjacent regular rooms and a walkway with walls, doors, windows, and a small number of concrete objects in each space is used, as shown in Table3. This case study completes the inference process, visualization mapping, and indoor scene rendering with the user role visitor at the center to illustrate the specific application of the visual representation algorithm.Table 3
Simplified indoor scene examples.
Interior spaceSpace typeObjectNumberRoom 201RoomWallWall 201General spaceWindowWindow 201DoorDoor 201Touring statueTouring statue 001SofaSofa 201Room 203RoomWallWall 203WindowWindow 203DoorDoor 203Exhibition boardExhibition board 001DeskDesk 203Corridor 001CorridorWallWall 001WindowWindow 001PassagesExhibition boardExhibition board 002Transfer spaceFollowing the flow of the visual representation algorithm, the preliminary list of results is obtained using the correspondence rules of behavioral targets, the association rules of target things, and the association rules of topological relations in turn. Then, the association rules of semantic location are used and the weights are recalculated. Finally, the weights are calculated again using focus = 1.5 for visitor role instances, and the results of the weight calculation are shown in Table4.Table 4
List of weight calculation results.
Rule reasoningResult itemWeightSemantic location weightFocus calculated weightWeight reductionProfessional interest rules of social rolesTouring statue 001557.51.00Target objectExhibition board 00141.62.40.32Association rulesExhibition board 0024230.40Topological relationWall 2010.50.50.330.04Association rulesWindow 2010.50.50.330.04Door 201557.51.00Wall 2030.50.20.130.02Window 2030.50.20.130.02Door 2035230.40Wall 2010.50.250.170.02Window 0010.50.250.170.02Semantic positionSofa 201111.50.20Association rulesDesk 20310.40.270.04


## 7. Simulation Effect

Unlike the traditional way of managing resources in the classification system, LCS uses semantic web-based ontology technology to organize all kinds of learning resources in the platform. The platform allows users to collaboratively edit learning content and use group intelligence to promote the growth of learning resources. Since the platform allows any user to edit the learning content, in order to ensure that the resources can fully absorb the group wisdom, ensure that the absorbed content is meaningful to the growth of the resources, and avoid the growth of resources in a disorganized manner, the platform adopts a complete content evolution intelligent control technology combined with human review technology to realize the orderly control of the content evolution of the learning resources. Learners can view the visualized resource evolution path (as shown in Figure7) to understand the evolution of resources as a whole and can also discover the differences between any two content versions through the version comparison function.Figure 7
Classroom space comfort.Interaction in ubiquitous learning is not only the interaction between learners and physical learning resources, but also the process of learning, drawing on the wisdom of others, and establishing dynamic connections between learners and teachers through learning resources, so that learners can acquire new knowledge from their peers and receive help in learning. This trend has led to the inclusion of “people” as an important resource for learning.Learning resources in LCS not only include learning contents and learning activities, but also attach social cognitive network properties to the learning contents as shown in Figure8. Learners learning the same or similar topics can also realize social cognitive networks through learning resources, which is consistent with the value of “connection and recreation” advocated by the constructivist view of learning. As learners continue to interact with each other, a cognitive network with the same learning interests and hobbies and frequent interactions will gradually form. Each learner is an entity node in the cognitive network space and can establish learning connection with different learner nodes through learning resources. The strength of connection between nodes is represented by a multifactor composite cognitive model, and as learners continue to learn and interact, the status and connections of nodes in the learning community network will be continuously updated, so as to obtain knowledge and wisdom from each other, thus promoting the learners’ learning.Figure 8
Comfort level of students in different grades.In addition, ubiquitous learners differ from traditional learners in that the former have clear learning purpose and need, and their learning is generally goal-driven; they simply want to understand some knowledge and wish to master other in depth. Therefore, the effectiveness of learners’ learning cannot be measured by a uniform evaluation standard. Therefore, with different learning targets and different learning goals, ubiquitous learning environments need to provide learners with personalized evaluation criteria to measure the effectiveness of different learning targets in achieving their different learning goals. Ubiquitous learning requires the provision of evaluation based on process information, which is recorded as the main basis for evaluating the effectiveness of learners’ learning (as shown in Figure9).Figure 9
Design of personalized evaluation program based on process information.


## 8. Conclusions

The LCS records all kinds of process information generated by learners during the learning process and classifies them into five categories: learning attitudes, learning activities, content interactions, resource tools, and evaluation feedback. The evaluator (usually the creator of the resource, assuming the role of the teacher) selects appropriate information according to different learners and different learning objectives and presets a number of personalized evaluation schemes. The system selects the appropriate solution as the evaluation criteria based on the learner’s learning objectives and knowledge mastery, then collects data based on the evaluation criteria, and calculates the evaluation results using a simple and easy to understand weighting method. To ensure the accuracy of the evaluation, the evaluator is allowed to manually modify the evaluation results according to the learners’ specific performance. Both the evaluator and the learner can view the current evaluation results in real time.In future research, the data in this paper needs to be expanded, for example, increasing the map area, adding types of IoT devices, and using artificial intelligence for research.



---

*Source: 5300840-2022-02-07.xml*