Demonstration device for teaching principles of paged memory management

By designing a demonstration device for teaching the principles of paged memory management, the process of virtual memory page transfer was simulated, which solved the students' difficulty in understanding the concept, and enabled an intuitive demonstration of the actual principles of paged memory management, thereby improving the teaching effect.

CN224946471UActive Publication Date: 2026-11-06GUANGDONG POLICE COLLEGE (GUANGDONG PROVINCIAL PUBLIC SECURITY JUDICIAL MANAGEMENT CADRE COLLEGE)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522470814.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-21
Publication Date
2026-11-06
Estimated Expiration
2035-11-21

AI Technical Summary

Technical Problem

Students struggle to understand the principles of page-based memory management, and existing teaching methods lack intuitive demonstration tools.

Method used

Design a demonstration device for teaching the principles of paged memory management. Simulate the transfer process of virtual memory pages through external storage components, memory components, and auxiliary transfer components to intuitively demonstrate the actual principles of paged memory management.

Benefits of technology

By simulating the transfer process between secondary storage and main memory, students can intuitively understand the core principles of page-based memory management, thereby improving teaching effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224946471U_ABST
    Figure CN224946471U_ABST
Patent Text Reader

Abstract

This application provides a demonstration device for teaching the principles of paged memory management. The device includes an external storage component, an auxiliary transfer component, and a main memory component. The external storage component includes a rotating part, a first connecting part, and a virtual memory page simulation part. Multiple first connecting parts are spaced apart along the circumferential direction of the rotating part. Virtual memory page simulation parts can be connected to the first connecting parts in a one-to-one correspondence, and the rotating part can drive the first connecting parts to rotate. The main memory component and the external storage component are arranged spaced apart along a first direction. The main memory component includes a second connecting part, a guide part, and a limiting part. The virtual memory page simulation part can be transferred between the first and second connecting parts via the auxiliary transfer component. The external storage component simulates external storage, and the virtual memory page simulation part simulates virtual memory pages that can be transferred between external storage and main memory, visually demonstrating the actual principles of paged memory management during the teaching process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of teaching tools, and in particular to a demonstration device for teaching the principles of paged memory management. Background Technology

[0002] Paged memory management is a computer memory management technique that divides virtual space and physical memory into fixed-size pages to achieve dynamic allocation and efficient utilization of memory resources. Its core objective is to solve the memory fragmentation problem through discrete address mapping, and it is mainly divided into two types: static and dynamic.

[0003] The principle of paged memory management is to divide the virtual space of each process into several pages of equal length, and simultaneously divide the memory space into page frames of the same size. During computer operation, the storage status of virtual memory pages in physical memory is recorded in a page table, and a corresponding hardware address translation mechanism is used to solve the discrete address translation problem. Paged memory management also includes various page frame replacement algorithms to select a page frame to be evicted when there are no free page frames in memory. This is the most challenging aspect of learning paged memory management.

[0004] In the teaching process, it is difficult for students to understand page-based memory management by relying solely on verbal descriptions. Therefore, there is an urgent need for a demonstration device for teaching the principles of page-based memory management, which can, to some extent, address the shortcomings of existing technologies. Utility Model Content

[0005] The purpose of this application is to provide a demonstration device for teaching the principles of paged memory management, which can intuitively demonstrate the actual principles of paged memory management.

[0006] This application provides a demonstration device for teaching the principles of paged memory management; comprising: An external storage component includes a rotating part, a first connecting part, and a virtual memory page emulation part; multiple first connecting parts are spaced apart along the circumferential direction of the rotating part; the virtual memory page emulation parts can be connected to the first connecting parts one by one; the rotating part can drive the first connecting parts to rotate, so that the virtual memory page emulation parts can rotate, and one of the virtual memory page emulation parts can rotate to a preset position. A memory component, arranged at intervals from the external storage component along a first direction, includes a second mounting portion, a guide portion, and a limiting portion; the guide portion extends in a direction perpendicular to the first direction; multiple second mounting portions are provided, and the multiple second mounting portions can move on the guide portion in a direction perpendicular to the first direction, so that one of the second mounting portions moves to the preset position; the limiting portion can limit the multiple second mounting portions, so that there is a preset distance between adjacent second mounting portions; An auxiliary transfer component is disposed at the preset position between the external storage component and the memory component, and the virtual memory page simulation unit can be transferred between the first attachment part and the second attachment part through the auxiliary transfer component.

[0007] In the above technical solution, the rotating part further includes: The support column extends vertically and has a rotating end at the top and a fixed end at the bottom. A support plate is rotatably connected to the rotating end, and the support plate has multiple mounting positions spaced apart along its circumferential direction.

[0008] In the above technical solution, the rotating end of the support column is provided with a rotating track on the side facing the support disk, and the support disk is provided with a rotating sliding shaft adapted to the rotating track facing the rotating end; the rotating sliding shaft can rotate within the rotating track so that the support disk is rotatably connected to the support column.

[0009] In the above technical solution, the first mounting part further includes: The first suspension column extends horizontally, and one end of it is connected to the support plate at the mounting position; The second suspension column extends horizontally and is located below the first suspension column. One end of the second suspension column is connected to the support plate at the mounting position, and the second suspension column is larger in length than the first suspension column.

[0010] In the above technical solution, the virtual memory page emulation unit further includes: The calibration simulation page is inverted U-shaped and hung on the first suspension column, and the calibration simulation page is surrounded by an accommodating space; the calibration simulation page is equipped with a page number display, which can mark the page number of the calibration simulation page; The memory simulation page is inverted U-shaped and hung on the second suspension column; the memory simulation page is located in the receiving space, and the end of the memory simulation page opposite to the rotating part protrudes from the end of the calibration simulation page opposite to the rotating part.

[0011] In the above technical solution, the virtual memory page emulation unit further includes: A magnetic strip is disposed on the portion of the memory simulation page that is opposite to the rotating part and protrudes from the calibration simulation page; A sliding handle is provided on the portion of the memory simulation page that is opposite to the rotating part and protrudes from the calibration simulation page, and the sliding handle and the magnetic strip are arranged at intervals in the vertical direction.

[0012] In the above technical solution, the guide portion further includes: Two guide rails are spaced apart along the first direction and extend in a direction perpendicular to the first direction; the two guide rails are provided with guide moving grooves facing each other on their side walls, and the second hooking part can move on the guide moving grooves in a direction perpendicular to the first direction; A support rod is used to support the guide rail, so that the second attachment part hanging on the guide rail is at the same height as the first attachment part.

[0013] In the above technical solution, the second mounting part further includes: Multiple mounting rods are provided, and the mounting rods are used to attach the memory simulation pages; Rollers are respectively disposed at both ends of the hook rod along the first direction, and can drive the hook rod body to move in a direction perpendicular to the first direction.

[0014] In the above technical solution, the limiting part further includes: The limiting rod extends in a direction perpendicular to the first direction; Each of the limiting clips is provided in a corresponding manner to one of the hook rods, and the limiting clips on the multiple hook rods are in a straight line; the limiting rod passes through the limiting clips in sequence along a direction perpendicular to the first direction, so that the limiting clips clamp the limiting rods.

[0015] In the above technical solution, the auxiliary transfer component further includes: An auxiliary slide rail is disposed at the preset position between the memory component and the external storage component, and the auxiliary slide rail extends along the first direction; A support column extends vertically and supports the auxiliary slide rail, such that the auxiliary slide rail is at the same height as the second suspension column and the second mounting part.

[0016] This application provides a demonstration device for teaching the principles of paged memory management; comprising: An external storage component includes a rotating part, a first connecting part, and a virtual memory page emulation part; multiple first connecting parts are spaced apart along the circumferential direction of the rotating part; the virtual memory page emulation parts can be connected to the first connecting parts one by one; the rotating part can drive the first connecting parts to rotate, so that the virtual memory page emulation parts can rotate, and one of the virtual memory page emulation parts can rotate to a preset position. A memory component, arranged at intervals from the external storage component along a first direction, includes a second mounting portion, a guide portion, and a limiting portion; the guide portion extends in a direction perpendicular to the first direction; multiple second mounting portions are provided, and the multiple second mounting portions can move on the guide portion in a direction perpendicular to the first direction, so that one of the second mounting portions moves to the preset position; the limiting portion can limit the multiple second mounting portions, so that there is a preset distance between adjacent second mounting portions; An auxiliary transfer component is disposed at the preset position between the external storage component and the memory component, and the virtual memory page simulation unit can be transferred between the first attachment part and the second attachment part through the auxiliary transfer component.

[0017] In summary, the external storage component is used to simulate external storage, the external storage component is used to simulate memory, and the virtual memory page simulation component is used to simulate virtual memory pages that can be moved between external storage and memory. In the teaching process, the actual principle of paged memory management is intuitively demonstrated, which is convenient for students to understand. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0019] Figure 1 A schematic diagram of the structure of the demonstration device for teaching the principle of paged memory management provided in this application from a first-person perspective; Figure 2 for Figure 1 Enlarged view of point A; Figure 3 A schematic diagram of the structure of the demonstration device for teaching the principles of paged memory management provided in this application from a second-view perspective; Figure 4 for Figure 3 Enlarged view of point B; Figure 5 for Figure 3 Enlarged view of point C; Figure 6 A schematic diagram of the structure of the demonstration device for teaching the principles of paged memory management provided in this application from a third-person perspective; Figure 7 for Figure 6 Enlarged view of point D; Figure 8 for Figure 7 A schematic diagram of the hidden limiting rod in the middle; Figure 9 for Figure 8 Enlarged view of point E.

[0020] Reference numerals: 1-External storage component; 101-Rotating part; 102-First mounting part; 103-Virtual memory page simulation part; 104-Support column; 105-Rotating end; 106-Fixed end; 107-Support plate; 108-Mounting position; 109-First suspension column; 110-Second suspension column; 111-Calibrating simulation page; 112-Accommodation space; 113-Page number display; 114-Memory simulation page; 115-Magnetic strip; 116-Sliding handle; 117-Rotating track; 118-Rotating slide shaft; 119-Base; 2-Memory component; 201-First direction; 203-Second mounting part; 204-Guide part; 205-Limiting part; 206-Guide rail; 207-Guide moving groove; 208-Support rod; 209-Limiting rod; 210-Limiting clamp; 211-Mounting rod body; 212-Roller; 213-Connecting rod; 214-Mounting rod; 216-Auxiliary rod; 217-First segment; 218-Second segment; 219-Third segment; 220-Fourth segment; 221-Fifth segment; 222-Memory page identifier; 223-Magnetic identifier; 224-Open end; 3-Auxiliary transfer component; 301-Auxiliary slide rail; 302-Support column. Detailed Implementation

[0021] The following detailed embodiments are provided to aid the reader in gaining a comprehensive understanding of the methods, apparatus, and / or systems described herein. However, various changes, modifications, and equivalents of the methods, apparatus, and / or systems described herein will be apparent upon understanding the disclosure of this application. For example, the order of operations described herein is merely illustrative and is not limited to the order presented herein; rather, changes that will be apparent upon understanding the disclosure of this application are possible, except for operations that must occur in a specific order. Furthermore, descriptions of features known in the art may be omitted for clarity and brevity. The features described herein may be implemented in different forms and should not be construed as limited to the examples described herein. Rather, the examples described herein are provided only to illustrate some of the many possible ways of implementing the methods, apparatus, and / or systems described herein that will be apparent upon understanding the disclosure of this application. Throughout this specification, when an element (such as a layer, region, or substrate) is described as being "on" another element, "connected to" another element, "bonded to" another element, "on" another element, or "covering" another element, it may be directly "on" another element, "connected to" another element, "bonded to" another element, "on" another element, or "covering" another element, or there may be one or more other elements in between. Conversely, when an element is described as being "directly on" another element, "directly connected to" another element, "directly bonded to" another element, "directly on" another element, or "directly covering" another element, there may be no other elements in between. As used herein, the term "and / or" includes any one of the relevant items listed and any combination of any two or more of them. Although terms such as "first," "second," and "third" may be used herein to describe individual components, assemblies, regions, layers, or portions, these components, assemblies, regions, layers, or portions are not limited by these terms. More precisely, these terms are used only to distinguish one component, assembly, region, layer, or part from another. Therefore, without departing from the teachings of the examples described herein, the first component, assembly, region, layer, or part referred to as such in the examples may also be referred to as the second component, assembly, region, layer, or part. For ease of description, spatial relational terms such as “above,” “upper,” “below,” and “lower” may be used herein to describe the relationship between one element and another, as shown in the accompanying drawings. Such spatial relational terms are intended to include not only the orientation depicted in the drawings but also the different orientations of the device in use or operation. For example, if the device in the drawings is flipped, an element described as being “above” or “upper” relative to another element will subsequently be “below” or “lower” relative to that other element.Therefore, the term "above" includes both "above" and "below" depending on the spatial orientation of the device. The device may also be positioned in other ways (e.g., oscillating 90 degrees or in other orientations), and the spatial relational terms used herein will be interpreted accordingly. The terminology used herein is for describing various examples only and is not intended to limit this disclosure. Unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. The terms "comprising," "including," and "having" enumerate the stated features, quantities, operations, components, elements, and / or combinations thereof, but do not exclude the presence or addition of one or more other features, quantities, operations, components, elements, and / or combinations thereof. Variations in the shapes shown in the figures may occur due to manufacturing techniques and / or tolerances. Therefore, the examples described herein are not limited to the specific shapes shown in the figures but include changes in shape that occur during manufacturing. The features of the examples described herein may be combined in various ways that will be apparent upon understanding the disclosure of this application. Furthermore, although the examples described herein have a wide variety of constructions, other constructions are possible as will be apparent upon understanding the disclosure of this application.

[0022] To address the technical difficulties students encounter in understanding paged memory management during teaching, this application provides a demonstration device for teaching the principles of paged memory management. The following section will illustrate this with... Figures 1-9 A detailed explanation is provided.

[0023] Combination Figure 2 As shown, the demonstration device for teaching the principle of page-based memory management includes an external storage component 1. This memory component 2 includes a rotating part 101, a first connecting part 102, and a virtual memory page simulation part 103. Multiple first connecting parts 102 are provided. The rotating part 101 is cylindrical, and the multiple first connecting parts 102 are spaced apart along the circumferential direction of the rotating part 101. Preferably, the multiple first connecting parts 102 are equally spaced along the circumferential direction of the rotating part 101, so that the spacing between adjacent first connecting parts 102 is the same, resulting in a more aesthetically pleasing appearance.

[0024] Multiple virtual memory page emulation units 103 are provided, and each virtual memory page emulation unit 103 can be connected to the first connection unit 102 in a one-to-one correspondence. The first connection unit 102 can rotate on the rotating unit 101. Since the virtual memory page emulation units 103 are connected to the first connection unit 102, when the first connection unit 102 is driven to rotate on the rotating unit 101, the virtual memory page emulation units 103 can rotate around the rotating unit 101. During the rotation, any one of the virtual memory page emulation units 103 can be rotated to a preset position (the preset position is described below).

[0025] Among them, combined Figure 1 As shown, the demonstration device for teaching the principles of paged memory management also includes a base 119, which can be placed on a desk during teaching.

[0026] Specifically, combined Figure 2 As shown, the rotating part 101 includes a support column 104 and a support disk 107.

[0027] The support column 104 is a cylindrical structure, and there is only one column. The support column 104 extends vertically, and a rotating end 105 is formed at the top of the support column 104, and a fixed end 106 is formed at the bottom. A support disk 107 is rotatably connected to the rotating end 105. This means that the support disk 107 can rotate on the rotating end 105, and since the support column 104 is cylindrical, the support disk 107 can perform circular motion on the rotating end 105. The fixed end 106 of the support column 104 is directly fixed to the base 119. The fixed end 106 can be fixed to the base 119 by welding, bolting, or integrally forming with the base 119.

[0028] Furthermore, in combination Figure 3 And refer to Figure 4 As shown, the rotating end 105 of the support column 104 has an annular rotating track 117 on the side facing the support disk 107. The support disk 107 has a rotating sliding shaft 118 adapted to the rotating track 117 on the side facing the rotating end 105. The rotating sliding shaft 118 can rotate circumferentially within the rotating track 117, so that the support disk 107 is rotatably connected to the support column 104. Preferably, there are four rotating sliding shafts 118, which are arranged circumferentially and at equal intervals on the side of the support disk 107 facing the rotating end 105 of the support column 104, corresponding to the positions of the rotating track 117.

[0029] Among them, combined Figure 2 As shown, the support plate 107 has a plurality of mounting positions 108 spaced apart along its circumferential direction. Preferably, the support plate 107 has a plurality of mounting positions 108 spaced equally along its circumferential direction, and the mounting positions 108 are used to mount the first hook part 102.

[0030] Specifically, combined Figure 2As shown, the first mounting part 102 includes a first suspension post 109 and a second suspension post 110. The first suspension post 109 extends horizontally, and one end of it is connected to the support plate 107 at the mounting position 108. The second suspension post 110 extends horizontally and is located directly below the first suspension post 109. One end of the second suspension post 110 is connected to the support plate 107 at the mounting position 108, and the dimension of the second suspension post 110 in its length direction is larger than that of the first suspension post 109 in its length direction. That is, when the first suspension post 109 and the second suspension post 110 are connected to the support plate 107, the second suspension post 110 protrudes from the first suspension post 109.

[0031] In addition, both the first suspension post 109 and the second suspension post 110 are cylinders, with the diameter of the first suspension post 109 being larger than the diameter of the second suspension post 110.

[0032] Specifically, combined Figure 2 As shown, the virtual memory page simulation unit 103 includes a calibration simulation page 111 and a memory simulation page 114. The calibration simulation page 111 is a plastic sheet, inverted U-shaped, and hung on the first suspension post 109. After the calibration simulation page 111 is hung on the first suspension post 109, two blades hang down from below the first suspension post 109, and a receiving space 112 is formed between the two blades.

[0033] In addition, each calibration simulation page 111 is equipped with a page number display 113, which can mark the calibration simulation page 111 with page numbers (i.e., mark multiple calibration simulation pages 111 in sequence).

[0034] The memory emulation page 114 is also a plastic sheet, in the shape of an inverted U and hung on the second suspension post 110. Since the diameter of the first suspension post 109 is larger than the diameter of the second suspension post 110, the memory emulation page 114 is located exactly in the accommodating space 112 after being hung on the second suspension post 110.

[0035] Furthermore, one end of the memory simulation page 114 that is away from the rotating part 101 protrudes from the other end of the calibration simulation page 111 that is away from the rotating part 101. A magnetic strip 115 and a sliding handle 116 are respectively provided on the portion of the memory simulation page 114 that is away from the rotating part 101 and protrudes from the calibration simulation page 111. The sliding handle 116 and the magnetic strip 115 are arranged at intervals in the vertical direction. Preferably, the magnetic strip 115 is located above the sliding handle 116. When the sliding handle 116 is pulled in the direction away from the support plate 107, the memory simulation page 114 can be pulled on the second suspension column 110.

[0036] In summary, during the actual demonstration, the support plate 107, support column 104, first suspension column 109, and second suspension column 110 are used to simulate the external storage used as virtual memory in a computer. The calibration simulation page 111 is used to simulate the virtual memory page stored in the external storage, and the memory simulation page 114 is used to simulate the virtual memory page that can be moved between the external storage and the main memory (external storage is described below).

[0037] Combination Figure 6 As shown, the demonstration device for teaching the principle of paged memory management also includes a memory component 2, which is arranged at intervals with the external storage component 1 along a first direction 201. Figure 8 As shown, the memory component 2 includes a second attachment portion 203, a guide portion 204, and a limiting portion 205; wherein the guide portion 204 extends in a direction perpendicular to the first direction 201; wherein multiple second attachment portions 203 are provided, and multiple second attachment portions 203 can move on the guide portion 204 in a direction perpendicular to the first direction 201, so that one of the second attachment portions 203 moves to a preset position; wherein the limiting portion 205 can limit the multiple second attachment portions 203, so that there is a preset distance between adjacent second attachment portions 203, preventing the distance between adjacent second attachment portions 203 from being too close to be recognized and the memory simulation page 114 attached to the second attachment portion 203 cannot be identified.

[0038] In addition, the function of the second connector 203 mentioned above is to simulate the memory in the computer (the core principle of memory management technology is to divide the entire memory into virtual memory pages of the same size, and the computer loads the pages stored in the external storage into the memory when needed).

[0039] Specifically, combined Figure 7 As shown, the guide part 204 includes a guide rail 206 and a support rod 208; wherein, two guide rails 206 are spaced apart along the first direction 201 and extend in a direction perpendicular to the first direction 201; the two guide rails 206 are provided with guide moving grooves 207 facing each other on the side walls, and the second hook part 203 can move on the guide moving grooves 207 in a direction perpendicular to the first direction 201.

[0040] The support rod 208 supports the guide rail 206, ensuring that the second mounting part 203, which is attached to the guide rail 206, is at the same height as the first mounting part 102. Optionally, four support rods 208 are provided, with two support rods 208 below each guide rail 206.

[0041] Specifically, combined Figure 9As shown, the second attachment part 203 includes an attachment rod body 211 and rollers 212. Multiple attachment rods 214 are provided. Rollers 212 are provided at both ends of the attachment rod 214 along the first direction 201. The rollers 212 are disposed in the guide moving groove 207 and can roll in the guide moving groove 207. When the rollers 212 move in the guide moving groove 207, they can drive the attachment rods 214 to move, so that one of the attachment rods 214 moves to a preset position.

[0042] Furthermore, the hanging rod 214 includes a connecting rod 213, a hanging rod 214, and an auxiliary rod 216. Rollers 212 are respectively provided at both ends of the connecting rod 213. The hanging rod 214 is positioned below the connecting rod 213 via the auxiliary rod 216. For the auxiliary rod 216, two auxiliary rods 216 are spaced apart along the first direction 201 on each hanging rod 214. The auxiliary rod 216 includes a first segment 217, a second segment 218, a third segment 219, a fourth segment 220, and a fifth segment 221. The first segment 217 is vertical... Connected below the hook rod 214, the second segment 218 is vertically connected to the first segment 217, the third segment 219 is vertically connected to the second segment 218, the fourth segment 220 is vertically connected to the third segment 219, and the fifth segment 221 is vertically connected to the fourth segment 220. The length of the third segment 219 is greater than the length of the fifth segment 221, and the length of the second segment 218 is less than the length of the fourth segment 220. This results in an open end 224 between the first segment 217 and the fifth segment 221. This open structure allows for the transfer of the memory emulation page 114.

[0043] Furthermore, the connecting rod is connected to the end of the fifth segment opposite to the fourth segment; each connecting rod 213 is equipped with a memory page identifier 222. It should also be emphasized that the length of the fifth segment 221 is greater than the height of the memory emulation page 114.

[0044] Specifically, combined Figure 1 As shown, the limiting part 205 includes a limiting rod 209 and a limiting clamp 210; wherein, the limiting rod 209 extends in a direction perpendicular to the first direction 201, that is, the limiting rod 209 extends in a direction parallel to the guide rail 206. The limiting clamp 210 is provided in a one-to-one correspondence with the connecting rod 213, and the limiting clamps 210 on the multiple connecting rods 213 are in the same straight line.

[0045] In the actual installation process, firstly, the multiple connecting rods 213 are spaced apart, then the limiting rod 209 is placed above the multiple connecting rods 213, and finally the limiting clamp 210 on the connecting rod 213 is clamped to the limiting rod 209. Then, when moving the connecting rod 213, you only need to pull the limiting rod 209.

[0046] In addition, the limit lever is actually a detachable component. Optionally, it is not designed to be equally spaced. In use, sometimes it is necessary to pull out each simulated memory page individually from the Z-axis direction to explain to students.

[0047] Combination Figure 3 See also Figure 5 As shown, the demonstration device for teaching the principle of paged memory management also includes an auxiliary transfer component 3. The auxiliary transfer component 3 is set at a preset position between the external storage component 1 and the memory component 2. The virtual memory page simulation unit 103 can be transferred between the first connecting part 102 and the second connecting part 203 through the auxiliary transfer component 3.

[0048] Specifically, the auxiliary transfer component 3 includes an auxiliary slide rail 301 and a support column 302. The auxiliary slide rail 301 is positioned between the memory component 2 and the external memory component 1 at a preset location, and extends along a first direction 201. The support column 302 extends vertically and supports the auxiliary slide rail 301 on the base 119.

[0049] It should be noted that the aforementioned hook rod 214, auxiliary slide rail 301, and second sliding column are of equal height. Therefore, during the operation demonstration, by pulling the sliding handle 116, the memory simulation page 114 can be directly pulled from the second sliding column to the auxiliary slide rail 301, and then from the auxiliary slide rail 301 to the hook rod 214. In other words, the auxiliary transfer component 3 plays the role of auxiliary transfer.

[0050] It should also be noted that the height of the aforementioned hook rod 214, auxiliary slide rail 301, and second sliding column is less than the height of the track, and the aforementioned open end 224 is located below the track, meaning that the memory simulation page 114 is transferred from the position below the track. Furthermore, the aforementioned preset position refers to a straight line position extending along the first direction 201.

[0051] In actual use, after the hook rod 214, the auxiliary slide rail 301 and the second sliding column are all in the preset position, the memory simulation page 114 can be pulled from the second sliding column to the auxiliary slide rail 301, and then from the auxiliary slide rail 301 to the hook rod 214.

[0052] In this embodiment, the demonstration device for teaching the principle of paged memory management also has a magnetic identifier 223, which can be pasted onto the magnetic strip 115 to mark the order in which memory pages enter memory.

[0053] The following is a brief description of the usage process of the demonstration device described above for teaching the principles of page-based memory management: Step 100: Initialize the page number display 113 and determine the memory size. Set the corresponding page numbers on the page number display according to the actual number of pages needed. Only virtual memory page emulation units 103 with page number displays set are actually usable. There are no strict requirements for setting the page numbers; for simplicity, they can be numbered sequentially starting from 1. Then, according to teaching needs, set an appropriate number of second attachments 203 to indicate how many memory pages can be loaded into the computer memory.

[0054] Step 200: The teacher devises a sequence for the computer application to call pages. For example, the sequence "12145321" means that the application needs to call virtual memory pages with page numbers 1, 2, 1, 4, 5, 3, 2, 1 in sequence.

[0055] Step 300: Begin moving the virtual memory page simulation unit 103 according to the corresponding sequence. The rule is as follows: if the page with the corresponding page number exists in memory, no operation is required; if the corresponding page number does not exist in memory, two cases are considered. First, if memory is not full, the corresponding page can be loaded directly—the virtual memory page simulation unit 103 is moved to any free second hanging column 203. Second, if memory is full, an algorithm such as First-In-First-Out (FIFO) is used to determine which page is moved back to the second hanging column 110 with the corresponding page number.

[0056] This algorithm is a key point in teaching. Algorithms of this type can all be called "frame replacement algorithms," and mainly include "random replacement algorithm," "round-robin algorithm," "first-in-first-out algorithm," and "least recently used algorithm," etc.

[0057] In addition, the number of times each page is accessed can be written on the emulation page 111 using an erasable whiteboard marker. The virtual memory page emulation unit 103 can be marked on the magnetic tag identifier 223 each time it is accessed sequentially.

[0058] In summary, this application can intuitively demonstrate the actual principle of paged memory management and how virtual memory pages are transferred between secondary storage and main memory.

[0059] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A demonstration device for teaching the principles of paged memory management; characterized in that, include: An external storage component includes a rotating part, a first connecting part, and a virtual memory page emulation part; multiple first connecting parts are spaced apart along the circumferential direction of the rotating part; the virtual memory page emulation parts can be connected to the first connecting parts one by one; the rotating part can drive the first connecting parts to rotate, so that the virtual memory page emulation parts can rotate, and one of the virtual memory page emulation parts can rotate to a preset position. A memory component, arranged at intervals from the external storage component along a first direction, includes a second mounting portion, a guide portion, and a limiting portion; the guide portion extends in a direction perpendicular to the first direction; multiple second mounting portions are provided, and the multiple second mounting portions can move on the guide portion in a direction perpendicular to the first direction, so that one of the second mounting portions moves to the preset position; the limiting portion can limit the multiple second mounting portions, so that there is a preset distance between adjacent second mounting portions; An auxiliary transfer component is disposed at the preset position between the external storage component and the memory component, and the virtual memory page simulation unit can be transferred between the first attachment part and the second attachment part through the auxiliary transfer component.

2. The demonstration device for teaching the principle of paged memory management according to claim 1, characterized in that, The rotating part includes: The support column extends vertically and has a rotating end at the top and a fixed end at the bottom. A support plate is rotatably connected to the rotating end, and the support plate has multiple mounting positions spaced apart along its circumferential direction.

3. The demonstration device for teaching the principle of paged memory management according to claim 2, characterized in that, The rotating end of the support column has a rotating track on one side facing the support disk, and the support disk has a rotating sliding shaft that matches the rotating track on the rotating end; the rotating sliding shaft can rotate within the rotating track so that the support disk is rotatably connected to the support column.

4. The demonstration device for teaching the principle of paged memory management according to claim 2, characterized in that, The first mounting part includes: The first suspension column extends horizontally, and one end of it is connected to the support plate at the mounting position; The second suspension column extends horizontally and is located below the first suspension column. One end of the second suspension column is connected to the support plate at the mounting position, and the second suspension column is larger in length than the first suspension column.

5. The demonstration device for teaching the principle of paged memory management according to claim 4, characterized in that, The virtual memory page emulation unit includes: The calibration simulation page is inverted U-shaped and hung on the first suspension column, and the calibration simulation page is surrounded by an accommodating space; the calibration simulation page is equipped with a page number display, which can mark the page number of the calibration simulation page; The memory simulation page is inverted U-shaped and hung on the second suspension column; the memory simulation page is located in the receiving space, and the end of the memory simulation page opposite to the rotating part protrudes from the end of the calibration simulation page opposite to the rotating part.

6. The demonstration device for teaching the principle of paged memory management according to claim 5, characterized in that, The virtual memory page emulation unit also includes: A magnetic strip is disposed on the portion of the memory simulation page that is opposite to the rotating part and protrudes from the calibration simulation page; A sliding handle is provided on the portion of the memory simulation page that is opposite to the rotating part and protrudes from the calibration simulation page, and the sliding handle and the magnetic strip are arranged at intervals in the vertical direction.

7. The demonstration device for teaching the principle of paged memory management according to claim 5, characterized in that, The guide section includes: Two guide rails are spaced apart along the first direction and extend in a direction perpendicular to the first direction; the two guide rails are provided with guide moving grooves facing each other on their side walls, and the second hooking part can move on the guide moving grooves in a direction perpendicular to the first direction; A support rod is used to support the guide rail, so that the second attachment part hanging on the guide rail is at the same height as the first attachment part.

8. The demonstration device for teaching the principle of paged memory management according to claim 7, characterized in that, The second mounting part includes: Multiple mounting rods are provided, and the mounting rods are used to attach the memory simulation pages; Rollers are respectively disposed at both ends of the hook rod along the first direction, and can drive the hook rod body to move in a direction perpendicular to the first direction.

9. The demonstration device for teaching the principle of paged memory management according to claim 8, characterized in that, The limiting part includes: The limiting rod extends in a direction perpendicular to the first direction; Each of the limiting clips is provided in a corresponding manner to one of the hook rods, and the limiting clips on the multiple hook rods are in a straight line; the limiting rod passes through the limiting clips in sequence along a direction perpendicular to the first direction, so that the limiting clips clamp the limiting rods.

10. The demonstration device for teaching the principle of paged memory management according to claim 4, characterized in that, The auxiliary transfer component includes: An auxiliary slide rail is disposed at the preset position between the memory component and the external storage component, and the auxiliary slide rail extends along the first direction; A support column extends vertically and supports the auxiliary slide rail, such that the auxiliary slide rail is at the same height as the second suspension column and the second mounting part.