Space management method and apparatus, electronic device, and readable storage medium
By acquiring the spatial extent information of the virtual space and the location information of the markers in the real space, the target virtual space corresponding to the markers is determined, and the virtual space is adjusted when the real space changes. This solves the problem of high error rate when the mapping relationship between real space and virtual space changes in large-scale buildings, and improves management efficiency.
Patent Information
- Application Number
- CN202111302374.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-04
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2041-11-04
AI Technical Summary
In large-scale construction, when the mapping relationship between real space and virtual space changes in existing technologies, markers need to be frequently removed and reinstalled, leading to a high probability of errors and low management efficiency.
By acquiring information about the spatial extent of the virtual space and the location of the markers in the real space, the target virtual space corresponding to the markers is determined, and the virtual space is adjusted when the real space changes to maintain the accuracy of the mapping relationship.
This reduces the frequency of tag replacement, lowers the probability of errors, and improves the efficiency of digital operations and management.
Smart Images

Figure CN114004956B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of building digitization, and in particular to a space management method and device, electronic equipment and computer storage medium. BACKGROUND
[0002] In the process of digital operation and management, a mark installed or pasted on site is often used as a connection point to establish a connection between a real on-site space and a virtual space in a digital control system. A worker can quickly find and enter a corresponding virtual space through the on-site mark, and simulate and manage the real on-site situation based on the virtual space. Based on the above, how to ensure accurate mapping between the real on-site space and the virtual space is of great significance to digital operation and management. SUMMARY
[0003] Therefore, embodiments of the present application aim to provide a space management method, device, electronic equipment and computer readable storage medium to quickly and accurately establish a corresponding relationship between a virtual space and a real space.
[0004] In a first aspect, embodiments of the present application aim to provide a space management method, which comprises:
[0005] acquiring space range information of an established virtual space;
[0006] acquiring position information of a mark in a real space;
[0007] determining a target virtual space corresponding to the mark according to the position information and the space range information;
[0008] adjusting the target virtual space in response to a change in the real space.
[0009] Further, the position information is used to represent a position of the mark, and the space range information is used to represent a space range of a corresponding virtual space representation.
[0010] The determination of the target virtual space corresponding to the mark according to the position information and the space range information comprises:
[0011] in response to the position being contained in the space range, determining a virtual space corresponding to the space range information as the target virtual space corresponding to the mark.
[0012] Further, the change in the real space is used to represent a change in space definition or division in the real space.
[0013] Further, the adjustment of the target virtual space comprises:
[0014] Enlarging or reducing a target space corresponding to the target virtual space.
[0015] Further, the acquiring the position information of the marker in the real space comprises:
[0016] acquiring the marker in the real space;
[0017] determining the position coordinate corresponding to the marker as the position information.
[0018] Further, the marker is determined based on a pre-generated code.
[0019] Further, the marker is at least one of a bar code, a two-dimensional code, an NFC tag and an RFID tag.
[0020] In a second aspect, an embodiment of the present application provides a space management device, the device comprising:
[0021] a first acquiring unit configured to acquire space range information of an established virtual space;
[0022] a second acquiring unit configured to acquire position information of a marker in a real space;
[0023] a determining unit configured to determine a target virtual space corresponding to the marker according to the position information and the space range information;
[0024] an adjusting unit configured to adjust the target virtual space in response to a change in the real space.
[0025] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory and a processor, the memory being configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of the above.
[0026] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the method steps according to any one of the above.
[0027] The technical solution of the embodiment of the present application can quickly determine a virtual space corresponding to a real space through the position information of a marker in the real space and the space range information corresponding to the virtual space, and further quickly and accurately establish a corresponding relationship between the real space and the corresponding virtual space. In addition, when the real space changes, the target virtual space is adjusted so that the virtual space can accurately reflect the corresponding real space, thereby providing convenience for digital operation and management. BRIEF DESCRIPTION OF DRAWINGS
[0028] The above and other objects, features and advantages of the present application will become more apparent from the following description when taken in conjunction with the accompanying drawings, in which:
[0029] Figure 1 is a flowchart of a space management method according to an embodiment of the present application;
[0030] Figure 2 is a flowchart of acquiring position information of a marker according to an embodiment of the present application;
[0031] Figure 3 is a diagram for determining a target virtual space corresponding to a marker according to an embodiment of the present application;
[0032] Figure 4 is a diagram for adjusting a target virtual space according to an embodiment of the present application;
[0033] Figure 5 is another flowchart of a space management method according to an embodiment of the present application;
[0034] Figure 6 is a diagram of a space management apparatus according to an embodiment of the present application;
[0035] Figure 7 is another diagram of a space management apparatus according to an embodiment of the present application;
[0036] Figure 8 is a diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0037] The present application is described herein based on embodiments. However, the present application is not limited to the embodiments described herein. In the following detailed description of the present application, some specific details are described for the purpose of explanation. The person skilled in the art will understand the present application without these details. In order not to obscure the essence of the present application, well-known methods, procedures, processes, elements and circuits are not described in detail.
[0038] In addition, the person skilled in the art will understand that the drawings provided herein are for illustrative purposes only and are not necessarily drawn to scale.
[0039] Unless the context clearly requires otherwise, throughout the description, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is to say, in the sense of "including, but not limited to".
[0040] In the description of the present application, it should be understood that the terms "first", "second", and the like are used only for the purpose of description, and should not be construed as indicating or implying relative importance. In addition, in the description of the present application, the meaning of "a plurality of" is two or more, unless otherwise specified.
[0041] In the process of digital operation and management, the marker plays an important role as a connection point between the real space in the field and the virtual space in the system (i.e. the model built for the real space in the system). In the prior art, for the convenience of management, the marker in the real space in the field is often corresponding to the real space. Once the real space changes, the marker needs to be regenerated to represent the corresponding real space. The common processing methods are as follows.
[0042] In the first common processing method, the virtual space is first established, the code is generated for the virtual space, and the marker is made according to the code. After the marker is made, it is pasted or installed in the corresponding real space in the field. When the real space management changes and the real space changes, the original marker can no longer represent the corresponding real space. At this time, the staff will tear off or remove the marker in the field. At the same time, the corresponding virtual space is re-established according to the change of the real space in the field, and the marker is re-made according to the virtual space, so that the virtual space can accurately correspond to the real space in the field.
[0043] In the second common processing method, the code is added to the virtual space on the basis of establishing the virtual space. When the code is added to the virtual space, the code is first randomly generated, and the marker is made according to the code. After the marker is made, it is installed or pasted in the corresponding real space in the field according to the type or form of the marker. Finally, the code corresponding to the marker is added to the virtual space corresponding to the real space. When the real space changes, the staff in the field will tear off or remove the marker in the field, and re-establish the virtual space and randomly generate the code for the real space to make the marker.
[0044] Based on the above, no matter which method is used, the corresponding relationship between the real space in the field and the virtual space in the system is established through the management of the marker. When the real space in the field changes and the original marker can no longer accurately represent the real space, and the corresponding relationship between the real space and the virtual space is destroyed, the marker needs to be removed or torn off in the field according to the change of the real space, and the new marker needs to be re-installed or pasted to ensure the accurate mapping relationship between the digital virtual space and the real space in the field. However, for a medium-sized building with an area of tens of thousands to hundreds of thousands of square meters or a larger scale building, the above processing method will undoubtedly cause a high error probability in the process of establishing and ensuring the corresponding relationship (i.e. the mapping relationship) between the virtual space and the real space, and further affect the efficiency and benefits of digital operation and management. Therefore, the embodiment of the present application aims to provide a space management method to solve the above technical problems.
[0045] Figure 1 is the flowchart of the space management method of the embodiment of the present application. As shown in Figure 1As shown, the space management method in the embodiment of the present application includes the following steps.
[0046] In step S110, the space range information of the established virtual space is acquired.
[0047] In the embodiment, according to the management requirements of the business, the space in the real world is established in the corresponding virtual space in the virtual world, and each virtual space corresponds to its own space range information, which is used to represent the space range of the corresponding virtual space.
[0048] In step S120, the position information of the marker in the real space is acquired.
[0049] Optionally, the position information in the embodiment is used to represent the position of the marker.
[0050] Further, the space range information of the virtual space in the embodiment includes key position information, which is used to represent the position of a specific position in the real space within the space range of the corresponding virtual space. For example, a first marker is provided in the real space, and the position of the first marker in the corresponding virtual space of the real space is a key position, and the information corresponding to the key position is the key position information.
[0051] Further, as shown, Figure 2 The acquisition of the position information of the marker in the real space in the embodiment includes the following steps.
[0052] In step S210, the marker in the real space is acquired.
[0053] Optionally, the marker in the embodiment can be at least one of a barcode, a two-dimensional code, an NFC tag, and an RFID tag, which is used to represent the corresponding real space. In actual use, the staff or user can obtain the situation of the corresponding virtual space of the real space through the marker, and quickly understand the layout information of the corresponding real space by viewing the information presented by the virtual space. For example, when the marker is a two-dimensional code, the staff scans the two-dimensional code to enter the operating system where the virtual space is located, queries the layout information in the virtual space through the operating system, and then quickly understands the actual situation in the real space corresponding to the virtual space, and according to the actual situation understood, carries out the next step of deployment and adjustment, and then optimizes the process of digital operation and management.
[0054] Further, the marker in the embodiment is determined based on a pre-generated random code. The form of the code can be one or a combination of numbers, characters, and letters.
[0055] In step S220, the position coordinates corresponding to the marker are determined as the position information.
[0056] Optionally, in the embodiment, the position coordinate corresponding to the marker can be determined by marking the position where the marker is installed or pasted. Specifically, the installation position where the marker is located is determined as the position coordinate corresponding to the marker. That is, the installation position where the marker is located is determined as the position information of the marker.
[0057] Further, in the embodiment, the marker is installed at a suitable position in the real space according to the management requirement of the real space and the type of the marker, and the coordinate where the installation position of the marker is located is determined as the position information corresponding to the marker.
[0058] In step S130, the target virtual space corresponding to the marker is determined according to the position information and the space range information.
[0059] In the embodiment, the position information of the marker in the real space and the space range information in the virtual space are established and determined based on the same coordinate system, so that the target virtual space corresponding to the marker can be determined through the position information of the marker and the space range information corresponding to the virtual space, and the target virtual space corresponding to the real space represented by the marker is further determined.
[0060] Optionally, in the embodiment, the target virtual space corresponding to the marker is determined by the following method: in response to the position represented by the position information being contained in the space range represented by the space range information, the virtual space corresponding to the space range is determined as the target virtual space corresponding to the marker.
[0061] As Figure 3As shown, assume the system has two virtual spaces, R1 and R2, both of which are regular cuboid structures. The spatial extent of virtual space R1 includes the area bounded by points O and A1, with coordinates O (0, 0, 0) and A1 (5, 3, 2.8). Virtual space R1 extends 5 meters, 3 meters, and 2.8 meters in the x, y, and z directions from point O. Virtual space R2 includes the area bounded by points B0 and B1, with coordinates B0 (5, 0, 0) and B1 (10, 3, 2.8). Virtual space R2 is adjacent to virtual space R1, and its spatial extent extends 5 meters outward along the x-direction from point B0, beyond the outer boundary of virtual space R1. Additionally, a marker T1 is installed within each virtual space, with coordinates (3, 3, 2.8). Based on the above method for determining the target virtual space corresponding to the marker, since the position coordinates of marker T1 are contained within the space bounded by point O and point A1, that is, the position represented by the position information of marker T1 is contained within the space represented by the spatial range information of virtual space R1, then virtual space R1 is the target virtual space corresponding to marker T1. Meanwhile, since the position coordinates of marker T1 are not contained within the space bounded by point B0 and point B1, that is, the position represented by the position information of marker T1 is not contained within the space represented by the spatial range information of virtual space R2, then virtual space R2 is not the target virtual space corresponding to marker T1.
[0062] In step S140, in response to changes in the real space, the target virtual space is adjusted.
[0063] In this embodiment, the change in real space is used to characterize a change in the definition or division of space within the real space.
[0064] Optionally, when the real space changes, adjusting the target virtual space includes: expanding or shrinking the target space corresponding to the target virtual space.
[0065] Figure 4 This is a schematic diagram illustrating the adjustment of the target virtual space according to an embodiment of the present invention. Figure 4As shown, along with the above example, the position of the marker T1 does not change, and the real space corresponding to the marker T1 is enlarged from V to V'. At this time, the system detects that the real space changes, and then adjusts the A1 point coordinate in the space range information of the virtual space R1 to A1', and adjusts the space range of the corresponding virtual space from R1 to R1' according to the change of the real space. Thus, through the above adjustment process when the marker does not change and the corresponding real space changes, the corresponding virtual space can be adjusted in time according to the change of the real space, so that the virtual space can keep the accurate corresponding relationship with the real space at all times, and more accurately reflect the real space on site.
[0066] Further, assuming that the original real space is divided into two subspaces after the real space on site changes, and the existing marker can only represent one subspace, the original target virtual space needs to be adjusted to the space range represented by the subspace corresponding to the marker, and a new marker needs to be added for the other subspace. Or, assuming that the original real space is reduced after the real space on site changes, and the position of the existing marker is outside the space range of the existing real space, a new marker needs to be added for the changed real space, and the corresponding target virtual space needs to be re-established or matched for the original marker. Thus, by adjusting the virtual space corresponding to the real space represented by the marker according to the change of the real space, and at the same time when the original marker cannot represent the changed original real space, the marker is used as much as possible and a new virtual space is established for the new real space corresponding to the marker, the waste of the marker is reduced, and the cost of digital operation and management is reduced.
[0067] The technical scheme of the embodiment acquires the space range information of the established virtual space, acquires the position information of the marker in the real space, determines the target virtual space corresponding to the marker according to the position information and the space range information, and establishes the corresponding relationship between the real space and the corresponding virtual space. At the same time, when the real space changes, the marker in the system can be regarded as an independent virtual object in the virtual space, the target virtual space is adjusted according to the change of the real space without changing the marker and avoiding secondary construction, so that the virtual space and the real space can correspond at all times, and the layout of the real space is reflected through the virtual space, which facilitates the staff to quickly and accurately understand the real space on site based on the virtual space, facilitates subsequent operation and management, and improves the operation and management efficiency of the digital building space.
[0068] Figure 5 Another flowchart of the space management method of the embodiment of the application is shown in FIG. 6. Figure 5 As shown in the flowchart of the space management method in the embodiment.
[0069] In step S310, a virtual space is established.
[0070] In this embodiment, a virtual space is established in the system, and the actual layout in the corresponding real space is reflected through the virtual space, so that the staff can timely view and understand the internal space condition of the real space.
[0071] Optionally, in this embodiment, the space range represented by the virtual space corresponding to the space range is the same as that of the real space. The same space is represented by the same method and value in the virtual space and the corresponding real space, so as to be able to reproduce and restore the real space, and thus facilitate the digital management of the real space.
[0072] In step S320, a mark is generated for the real space according to the randomly generated code.
[0073] Optionally, in this embodiment, the mark is generated for the real space by using the randomly generated code. Specifically, when the mark is generated for the real space, the code is first generated for the real space, and the mark is made and generated based on the generated code. The code can be generated by using an existing random code generation method, and the code has a unique identification function in the same system. Thus, the mark corresponding to the real space is determined by generating a unique code, which is simple and effective, and has higher feasibility.
[0074] After the mark corresponding to the real space is generated, the on-site staff installs or pastes the barcode, two-dimensional code or label corresponding to the mark in the corresponding real space. For example, when the mark is a two-dimensional code, the two-dimensional code is pasted on the outer body of the corresponding real space building, so that the staff can immediately query and understand the actual space condition of the building (i.e. the actual space condition of the real space corresponding to the mark) by scanning the two-dimensional code on the outer body of the building without entering the building.
[0075] Optionally, the mark in this embodiment is automatically provided with position information during the generation process. The position information of the mark is determined according to the position coordinates of the position where the mark is installed or pasted in the system.
[0076] In step S330, the position information of the mark in the real space is acquired.
[0077] In this embodiment, the position information of the mark is acquired by acquiring the position coordinates of the mark in the real space, and the acquired position coordinates of the mark in the real space are determined as the position information of the mark.
[0078] In step S340, the relationship between the real space and the virtual space is determined by the position information of the mark.
[0079] In this embodiment, the relationship between the real space represented by the mark and the virtual space is determined by the position information of the mark and the space range information of the virtual space.
[0080] Optionally, the position information of the marker corresponds to a position coordinate, and the space range represented by the virtual space is represented by a certain number of position coordinates. Specifically, when the real space is a regular shape, it can be represented by two position coordinates. Based on this, the corresponding relationship between the real space and the virtual space can be determined based on the position information of the marker and the space range corresponding to the virtual space.
[0081] Further, when the position coordinate of the marker is located within the space range of the virtual space, it is determined that the marker and the corresponding virtual space have a corresponding relationship, and the virtual space having the corresponding relationship is determined as the target virtual space corresponding to the real space corresponding to the marker.
[0082] In the technical solution of the embodiment, the marker in the system is taken as an independent virtual object within the space range of the virtual space, and is taken as a touch point / connection point for establishing a connection between the live real space and the virtual space. The corresponding relationship between the real space corresponding to the marker and the virtual space is determined based on the position information of the digital marker in the digital virtual world and the position contour information of the virtual space.
[0083] In step S350, it is determined that the real space has changed.
[0084] In the embodiment, when the layout of the real space changes after adjusting the real space according to the business requirements or modifying the live real space, it is determined that the real space corresponding to the marker has changed.
[0085] Further, in the embodiment, after it is determined that the real space has changed, it returns to step S310 to adjust the original target virtual space corresponding to the marker, and reestablishes the virtual space, so that the adjusted target virtual space can still maintain an accurate corresponding relationship with the changed real space, and more accurately reflect the corresponding real space to provide guidance for the staff in operation and management.
[0086] The technical scheme of the embodiment generates a mark for a real space according to a randomly generated code, so that the mark corresponding to the code can uniquely represent the corresponding real space. After the mark is installed, the position information of the mark in the real space is obtained, the relationship between the real space and the virtual space is determined through the position information of the mark, and then the target virtual space corresponding to the real space where the mark is located is determined, the corresponding relationship between the virtual space and the corresponding real space is established, so that the staff can understand the situation in the corresponding real space according to the virtual space. In addition, by determining that the real space changes, and adjusting the original target virtual space and establishing a new target virtual space when the real space changes, the target virtual space can be adjusted in real time according to the change of the real space while maintaining the corresponding relationship with the real space, so that the mark can represent the new real space, and the adjusted target virtual space can accurately reflect the relevant situation in the corresponding real space, thereby facilitating the operation and management of the digital building and improving the efficiency of digital operation and management.
[0087] Figure 6 is a schematic diagram of a space management device in an embodiment of the present application. As shown in Figure 6 , the space management device 1 in the embodiment includes a first acquisition unit 11, a second acquisition unit 12, a determination unit 13 and an adjustment unit 14. The first acquisition unit 11 is configured to acquire the space range information of the established virtual space, and the space range information is used to represent the space range of the corresponding virtual space. The second acquisition unit 12 is configured to acquire the position information of the mark in the real space, and the position information is used to represent the position of the mark. The determination unit 13 is configured to determine the target virtual space corresponding to the mark according to the position information and the space range information. The adjustment unit 14 is configured to adjust the target virtual space in response to the change of the real space.
[0088] Optionally, Figure 7 is another schematic diagram of a space management device in an embodiment of the present application, as shown in Figure 7 , the second acquisition unit 12 in the embodiment includes an acquisition module 121 and a position module 122. The acquisition module 121 is configured to acquire the mark in the real space. The position module 122 is configured to determine the position coordinates of the mark as the position information of the mark. Specifically, the mark in the embodiment is determined based on a pre-generated code, and the mark can be at least one of a barcode, a QR code, an NFC tag and an RFID tag.
[0089] Further, the determination unit 13 in the embodiment includes a determination module 131, wherein the determination module 131 is configured to determine the virtual space corresponding to the space range information as the target virtual space corresponding to the mark in response to the position of the mark being included in the space range represented by the virtual space.
[0090] Further, the real space in the embodiment changes for representing that the space definition or division in the real space changes. The adjusting unit 14 comprises an adjusting module 141, wherein the adjusting module 141 is configured to expand or reduce the target space corresponding to the target virtual space.
[0091] The technical scheme of the embodiment obtains the space range information of the established virtual space by the first obtaining unit, obtains the position information of the marker in the real space by the second obtaining unit, and determines the target virtual space corresponding to the marker according to the position information and the space range information, so as to establish the corresponding relationship between the real space and the corresponding virtual space. Meanwhile, when the real space changes, the marker in the system can be regarded as an independent virtual object in the space range of the virtual space, and the target virtual space is adjusted according to the change of the real space by the adjusting unit without changing the marker and avoiding secondary construction, so that the virtual space and the real space can correspond at all times, and the layout of the real space is reflected through the virtual space, which facilitates the staff to quickly and accurately understand the real space situation on site based on the virtual space, is convenient for subsequent operation and management, and improves the operation and management efficiency of the digital building space.
[0092] Figure 8 is a schematic diagram of an electronic device of the embodiment of the application. As shown in Figure 8 , the electronic device shown in Figure 8 is a general address query device, which comprises a general computer hardware structure, at least comprising a processor 81 and a memory 82. The processor 81 and the memory 82 are connected through a bus 83. The memory 82 is suitable for storing instructions or programs executable by the processor 81. The processor 81 can be an independent microprocessor, or a set of one or more microprocessors. Thus, the processor 81 performs the processing of data and the control of other devices by executing the instructions stored in the memory 82, thereby performing the method flow of the embodiment of the application as described above. The bus 83 connects the above-mentioned components together, and connects the above-mentioned components to a display controller 84 and a display device, and an input / output (I / O) device 85. The input / output (I / O) device 85 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a body sense input device, a printer, and other devices known in the art. Typically, the input / output device 85 is connected to the system through an input / output (I / O) controller 86.
[0093] Those skilled in the art will understand that embodiments of the present application can be provided as methods, apparatus (devices) or computer program products. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product embodied on one or more computer readable storage media (including, but not limited to, disk memory, CD-ROMs, optical storage media, etc.) having computer usable program code embodied thereon.
[0094] The present application is described with reference to flowcharts according to the methods, apparatus (devices) and computer program products of embodiments of the present application. It should be understood that each flow of the flowcharts can be implemented by computer program instructions.
[0095] These computer program instructions can be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a specific manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions apparatus that implement the function specified in the flowchart Figure 1 of one or more flows.
[0096] These computer program instructions can also be provided to a processor of a general purpose computer, a special purpose computer, an embedded processing machine or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus produce an apparatus that implements the function specified in the flowchart Figure 1 of one or more flows.
[0097] Another embodiment of the present application relates to a non-volatile storage medium for storing a computer readable program for a computer to execute the above-mentioned partial or all method embodiments.
[0098] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned method embodiments can be completed by a program stored in a storage medium, including a number of instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the method described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0099] The above merely illustrates the preferred embodiments of the present application, and is not used to limit the present application, and any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims
1. A space management method characterized by, The method comprises: acquiring space range information of an established virtual space, the space range of the virtual space being represented by a certain number of position coordinates; acquiring position information of a marker in a real space, the position information of the marker corresponding to one position coordinate; determining a target virtual space corresponding to the marker according to the position information and the space range information; adjusting the target virtual space in response to a change in the real space; the position information is used to represent a position where the marker is located, and the space range information is used to represent a space range represented by the corresponding virtual space; the determining of the target virtual space corresponding to the marker according to the position information and the space range information comprises: determining a corresponding relationship between a real space represented by the marker and a virtual space according to the position information of the marker and the space range corresponding to the virtual space; in response to the position coordinate of the marker being located within the space range of the virtual space, determining that the marker and the corresponding virtual space have the corresponding relationship, and determining the virtual space having the corresponding relationship as the target virtual space corresponding to the real space corresponding to the marker; the change in the real space is that the real space is physically partitioned, or a boundary of the real space is expanded or reduced; the adjusting of the target virtual space comprises: when the real space is partitioned into two subspaces, and the marker is located in one of the subspaces, adjusting the space range of the original target virtual space to correspond only to the subspace containing the marker, and generating new markers and corresponding new virtual spaces for other subspaces not covered by the marker; when the real space is reduced, and the position coordinate of the marker is outside the space range of the real space, adding new markers to the real space after the reduction, and re-matching or establishing corresponding target virtual spaces.
2. The method of claim 1, wherein, the adjusting of the target virtual space comprises: expanding or reducing a target space corresponding to the target virtual space.
3. The method of claim 1, wherein, the marker is determined based on a pre-generated code.
4. The method according to any one of claims 1 to 3, characterized in that, the marker is at least one of a bar code, a two-dimensional code, an NFC tag, and an RFID tag.
5. A space management apparatus, characterized by, The device comprises: a first acquisition unit configured to acquire space range information of an established virtual space, the space range of the virtual space being represented by a certain number of position coordinates; a second acquisition unit configured to acquire position information of a marker in a real space, the position information of the marker corresponding to one position coordinate; a determination unit configured to determine a target virtual space corresponding to the marker according to the position information and the space range information; an adjustment unit configured to adjust the target virtual space in response to a change in the real space; the position information is used to represent a position where the marker is located, and the space range information is used to represent a space range represented by the corresponding virtual space; the determination unit is further configured to: determine a corresponding relationship between a real space represented by the marker and a virtual space according to the position information of the marker and the space range corresponding to the virtual space; In response to the position coordinates of the marker being located within the spatial range of the virtual space, it is determined that the marker has a corresponding relationship with the corresponding virtual space, and the virtual space having the corresponding relationship is determined as a target virtual space corresponding to the real space corresponding to the marker; The real space changes in that the real space is physically partitioned, or the boundary of the real space is expanded or reduced; The adjusting the target virtual space comprises: When the real space is partitioned into two sub-spaces, and the marker is located in one of the sub-spaces, the spatial range of the original target virtual space is adjusted to correspond only to the sub-space containing the marker, and new markers and corresponding new virtual spaces are generated for the other sub-spaces not covered by the marker; When the real space is reduced, and the position coordinates of the marker are outside the spatial range of the real space, new markers are added to the real space after the reduction, and the corresponding target virtual space is re-matched or established.
6. An electronic device comprising a memory and a processor, characterized in that The memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method of any one of claims 1-4.
Citation Information
Patent Citations
Twin data-based ship yard operation scheduling system and scheduling method thereof
CN110705868A
Intelligent manufacturing workshop digital twinning model construction method and system
CN112462696A