Method, device, storage medium and electronic device for accessing spatial data

By receiving user identity information and matching with preset configuration information, determining spatial data usage permissions, the spatial data access management problems of different topics are solved, safe, controllable and accurate data access is achieved, and access efficiency and security are improved.

CN114764493BActive Publication Date: 2025-08-29BEIJING THUPDI PLANNING DESIGN INST
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210381329.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-12
Publication Date
2025-08-29
Estimated Expiration
2042-04-12

AI Technical Summary

Technical Problem

There is a lack of a secure, controllable and accurate spatial data access management method that provides different spatial access scopes for different topics.

Method used

By receiving user identity information, determining access permissions, and matching with preset spatial data usage configuration information, the user's spatial data usage permissions are determined based on the matching results, including cutting of spatial units, attribute information processing and MD5 code generation, and precise data access control for different users is realized.

Benefits of technology

It improves the security, controllability and accuracy of spatial data access, ensures that different users only access data in the authorized scope, and improves data loading speed and user work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114764493B_ABST
    Figure CN114764493B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, storage medium, and electronic device for accessing spatial data. When a user's access request for spatial data is received, the method determines the user's identity information; determines whether the user has access rights based on the user's identity information; if the user has access rights, matches the user's identity information with preset spatial data usage configuration information, wherein the preset spatial data usage configuration information includes identity information and spatial data usage permission information corresponding to the identity information; and determines the user's spatial data usage permission based on the matching result. This method matches and determines the corresponding accessible spatial data based on the user's identity information, thereby improving the spatial data content response level according to different user needs and enhancing the security, controllability, and accuracy of access.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data access technology, and in particular to a method, device, storage medium and electronic device for accessing spatial data. Background Art

[0002] Spatial data is a quantitative description of objects and phenomena in the real world that have locational significance. Today, in networked geographic information systems (GIS), spatial data, as the foundation of the entire information system, has a wide range of applications in production and daily life. Because data must be transmitted over a network, data security is a critical issue in GIS. It is crucial to ensure that spatial data does not fall into the hands of unauthorized users, lest they engage in activities that endanger others or national security. Furthermore, due to the spatial nature of data, the spatial scope provided by the same piece of spatial data varies for different topics, and the requirements of data users vary. Lower-level data users are often not allowed to access higher-level spatial data. Furthermore, different data users at the same level may require data from different areas. Therefore, a secure, controllable, and accurate spatial data access management method is urgently needed for GIS. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a method, apparatus, storage medium, and electronic device for accessing spatial data to solve the technical problem in the prior art of lacking a method for providing different spatial access ranges for different topics using the same spatial data.

[0004] The technical solutions proposed by the present invention are as follows:

[0005] A first aspect of an embodiment of the present invention provides a method for accessing spatial data, the method comprising: upon receiving a user's access request to spatial data, determining the user's identity information; determining whether the user has access rights based on the user's identity information; when the user has access rights, matching the user's identity information with preset spatial data usage configuration information, the preset spatial data usage configuration information including identity information and spatial data usage permission information corresponding to the identity information; and determining the user's spatial data usage permission based on the matching result.

[0006] Optionally, the preset spatial data usage configuration information includes usage permission information of different spatial units for users with different identities; when receiving a user's access request to spatial data, before determining the identity information of the user, the method further includes: dividing the spatial data to be accessed according to the target division conditions to obtain multiple spatial units; determining the data attribute information of each spatial unit based on the data type contained in each spatial unit obtained by the division; and configuring the identity information of the corresponding accessible user based on the data attribute information of each spatial unit.

[0007] Optionally, after determining the data attribute information of each spatial unit according to the data type contained in each spatial unit obtained by division, the method further includes: processing the data attribute information of the spatial unit to obtain a corresponding MD5 code.

[0008] Optionally, the spatial data usage permission information further includes usage permission information of spatial data layers for users with different identities and / or usage permission information of spatial data with different data attributes for users with different identities, wherein different spatial data layers correspond to different spatial data.

[0009] Optionally, when the spatial data usage permission information includes usage permission information of spatial data layers for users with different identities, usage permission information of spatial data with different data attributes for users with different identities, and usage permission information of different spatial units for users with different identities; after determining the spatial data usage permission of the user based on the matching result, the method further includes: loading the matched spatial data layer to the user; when obtaining keyword information of the spatial unit uploaded by the user, filtering and loading the spatial data of the corresponding spatial unit in the spatial data layer; when obtaining attribute information of the data type uploaded by the user, filtering and loading the spatial data of the corresponding attribute in the spatial unit according to the attribute information of the data type.

[0010] A second aspect of an embodiment of the present invention provides a device for accessing spatial data, which includes: a first determination module, used to determine the identity information of the user when receiving a user's access request for spatial data; a second determination module, used to determine whether the user has access rights based on the user's identity information; a matching module, used to match the user's identity information with preset spatial data usage configuration information when the user has access rights, the preset spatial data usage configuration information including identity information and spatial data usage permission information corresponding to the identity information; and a first processing module, used to determine the spatial data usage permission of the user based on the matching result.

[0011] Optionally, the device also includes: a cutting module, used to cut the spatial data to be accessed according to the target division conditions to obtain multiple spatial units; a third determination module, used to determine the data attribute information of each spatial unit based on the data type contained in each spatial unit obtained by division; a configuration module, used to configure the identity information of the accessible user corresponding to each spatial unit based on the data attribute information of each spatial unit.

[0012] Optionally, the device further includes: a second processing module, configured to process the data attribute information of the spatial unit to obtain a corresponding MD5 code.

[0013] A third aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method for accessing spatial data as described in the first aspect of the embodiment of the present invention and any one of the first aspects.

[0014] A fourth aspect of an embodiment of the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to execute the method for accessing spatial data as described in the first aspect of the embodiment of the present invention and any one of the first aspects.

[0015] The technical solution provided by the present invention has the following effects:

[0016] The method for accessing spatial data provided by an embodiment of the present invention determines the user's identity information upon receiving a user's request to access spatial data; determines whether the user has access rights based on the user's identity information; and, if the user has access rights, matches the user's identity information with preset spatial data usage configuration information, wherein the preset spatial data usage configuration information includes identity information and spatial data usage permission information corresponding to the identity information; and determines the user's spatial data usage permission based on the matching result. This method matches and determines the corresponding accessible spatial data based on the user's identity information, thereby achieving spatial data content with a higher level of response to different user needs, thereby improving the security, controllability, and accuracy of access. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 is a flowchart of a method for accessing spatial data according to an embodiment of the present invention;

[0019] Figure 2 is a flowchart of a method for accessing spatial data according to an embodiment of the present invention;

[0020] Figure 3 is a structural block diagram of an apparatus for accessing spatial data according to an embodiment of the present invention;

[0021] Figure 4 is a schematic structural diagram of a computer-readable storage medium provided according to an embodiment of the present invention;

[0022] Figure 5 is a schematic structural diagram of an electronic device provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0024] The embodiment of the present invention provides a method for accessing spatial data, such as Figure 1 As shown, the method includes the following steps:

[0025] Step S101: When a user's access request for spatial data is received, the user's identity information is determined. Data users have varying levels of access requirements for spatial data. Low-level data users are often not permitted to access high-level spatial data. Therefore, when a data user's access request for spatial data is received, the user's identity must first be determined to further determine the corresponding access rights. Spatial data represents a quantitative description of objects and phenomena in the real world that have location-based significance.

[0026] Specifically, spatial data is managed in an independent subnet to ensure that only authorized users can access the network, thereby preventing spatial data leakage. In an embodiment of the invention, authorized user information is managed through VPN technology. Only users who have passed VPN authentication can access the network. In other words, VPN authentication can determine the identity information of users accessing the network.

[0027] Step S102: Determine whether the user has access rights based on the user's identity information. Specifically, for spatial data storage space, the identities that can access it will be restricted, that is, not every identity role can access the spatial data. Therefore, first determine whether the user has access rights to the spatial data based on the user's identity information. For example, for a school's plot layer data, only administrators with the school's certification have access rights. When an access request from a student or teacher is received, it can be determined that the user does not have access rights based on the user's identity (student or teacher).

[0028] Step S103: When the user has access rights, the user's identity information is matched with the preset spatial data usage configuration information, and the preset spatial data usage configuration information includes identity information and spatial data usage permission information corresponding to the identity information. Specifically, different identity information corresponds to different access rights. When the user has access rights, the usage configuration permissions of different data in the accessible space must be further determined, that is, the user's identity information is matched with the identity information in the accessible space and the usage permissions of the spatial data corresponding to the identity information, that is, the preset spatial data usage configuration information. Specifically, in any space, the accessible identity information is pre-configured and the corresponding spatial data usage permission information is matched to the identity information.

[0029] Step S104: Determine the user's spatial data usage permissions based on the matching results. Specifically, if the matching results are consistent, the user can access the matching spatial data in the space. For example, in a space T, if spatial data usage permission B is matched for identity A, then if user A is the user, after matching, user A can access spatial data B in space T.

[0030] The method for accessing spatial data provided by the embodiment of the present invention matches and determines the corresponding accessible spatial data based on the user's identity information, thereby improving the spatial data content with a higher level of response according to different user needs and improving the security, controllability and accuracy of access.

[0031] As an optional implementation of an embodiment of the present invention, the preset spatial data usage configuration information includes the usage permission information of different spatial units for users with different identities; when receiving the user's access request to the spatial data, before determining the identity information of the user, the method further includes: cutting the spatial data to be accessed according to the target division conditions to obtain multiple spatial units; determining the data attribute information of each spatial unit according to the data type contained in each spatial unit obtained by the division; and configuring the identity information of the accessible user corresponding to each spatial unit according to the data attribute information. Specifically, in actual system applications, different system users have different data viewing ranges, and the data space ranges provided by the system are different. In an embodiment of the present invention, cutting the spatial data to be accessed according to the target division conditions can ensure that the system user can only access the spatial data within the authorized space range. Moreover, through cutting, the data space unit division can be completed in advance, which greatly improves the loading speed of the spatial data and improves the user's work efficiency. Among them, the data attribute information can represent attributes such as name and type.

[0032] For example, if the spatial data is parcel layer data, it can be segmented according to administrative division codes to obtain multiple spatial units, where the parcel layer data in each spatial unit corresponds to the same administrative division code. Then, the data attributes of the spatial unit are determined based on the type of parcel layer data contained in each administrative division code. The spatial data is then assigned user identity information based on these data attributes, further determining the user's access rights to the spatial range.

[0033] For example, if the plot layer data contained in the administrative division code A is geographic location data, then the attribute information is determined to be geographic location information, and then the identity information of the corresponding accessible user is configured as role B for the geographic location information. In this case, only users with identity information B can access the spatial data whose corresponding attribute is geographic location contained in the administrative division code A.

[0034] As an optional implementation of an embodiment of the present invention, after determining the data attribute information of each spatial unit according to the data type contained in each spatial unit obtained by division, the method further includes: processing the data attribute information of the spatial unit to obtain a corresponding MD5 code. Specifically, after the spatial data to be accessed is cut according to the target division conditions, it is also necessary to process the data attribute information of the corresponding spatial unit after cutting using the MD5 information digest algorithm and generate a corresponding MD5 code. In this way, the spatiotemporal consistency of the spatial data can be guaranteed. Among them, the MD5 information digest algorithm is used to ensure the complete and consistent transmission of information. In an embodiment of the present invention, the MD5 code is used to distinguish the spatiotemporal consistency of two spatial layers (storing corresponding spatial data), so that the system (the system storing spatial data) can arbitrarily read historical spatial data from different periods.

[0035] For example, in an actual project, a layer of data may contain a lot of historical data during the project implementation process. Therefore, the use of MD5 code can ensure the temporal and spatial consistency of the data used in a certain period of time.

[0036] As an optional implementation of an embodiment of the present invention, the spatial data usage permission information also includes usage permission information for spatial data layers by users of different identities and / or usage permission information for spatial data of different data attributes by users of different identities, wherein different spatial data layers correspond to different spatial data. First, in actual use of the system, there are often multiple spatial data, and the spatial data provided for different types of users are also different, that is, different spatial data layers correspond to different spatial data. Specifically, in an embodiment of the present invention, the system provides spatial data to system users in the form of map services, and each spatial data corresponds to a map service layer. Based on the user's identity, the map service layer that the user can access is authorized to prevent the user from obtaining spatial data that is not allowed to be obtained, that is, the spatial data usage permission information also includes usage permission information for spatial data layers by users of different identities.

[0037] Secondly, a spatial data layer often has as few as a few, or as many as dozens or even hundreds of attribute fields. Depending on the user's level, the data fields they can access are also different, and high-level attribute information is often not accessible to low-level users. Therefore, in an embodiment of the present invention, it is also necessary to grant permissions to the spatial data attribute fields accessible to users to ensure that users do not access attribute data outside of their permissions. That is, the spatial data usage permission information also includes the usage permission information of users of different identities for spatial data with different data attributes.

[0038] As an optional implementation manner of an embodiment of the present invention, when the spatial data usage permission information includes usage permission information of spatial data layers for users with different identities, usage permission information of spatial data with different data attributes for users with different identities, and usage permission information of different spatial units for users with different identities; after determining the spatial data usage permission of the user based on the matching result, the method further includes: loading the matched spatial data layer to the user; when obtaining keyword information of the spatial unit uploaded by the user, filtering and loading the spatial data of the corresponding spatial unit in the spatial data layer; when obtaining attribute information of the data type uploaded by the user, filtering and loading the spatial data of the corresponding attribute in the spatial unit according to the attribute information of the data type.

[0039] Specifically, after determining the user's spatial data usage permissions, the system first loads the matching spatial data layer for the user. Secondly, when the user loads the spatial data layer, the system filters the loaded spatial data layer based on the spatial unit keyword information uploaded by the user (such as the administrative division code), and only loads and displays the spatial data within the spatial range that the user has permissions to use. Then, when the user queries the spatial data attribute information, the system filters the spatial unit based on the attribute field permission information that can be queried, that is, based on the attribute information of the data type, and finally returns the corresponding attribute information (spatial data permissions for the corresponding attributes).

[0040] In one embodiment, if Figure 2 As shown, the access requirements of roles A, B, and C are received, and the user information with access rights is determined through VPN verification, and then uploaded to the server. The permission information of the corresponding accessible spatial data layer is matched according to the user identity information, and the accessible spatial layer data is determined. Secondly, the corresponding spatial range access rights are matched according to the user identity information, and the layer data of the accessible spatial unit in the accessible spatial layer data is determined. Finally, the limited attributes of the accessible layer data of the spatial unit are determined according to the attribute information of the data type uploaded by the user.

[0041] For different user roles, the data acquisition scope is set in multiple dimensions through spatial data layers, spatial scope and attribute field permissions, which not only ensures the confidentiality requirements of spatial data, but also makes the data circulated within a controllable range, increasing the designability and integrity of the program.

[0042] The spatial data is divided into spatial ranges according to the map patches, and the geometric cutting algorithm is used to accurately calculate the spatial range of the business data. The cross-range business data is divided into precise proportions to provide accurate data for the summary statistics of the business, making the decisions based on spatial data more accurate and instructive.

[0043] The embodiment of the present invention also provides a device for accessing spatial data, such as Figure 3 As shown, the device includes:

[0044] The first determining module 301 is configured to determine the identity information of a user upon receiving a user's request to access spatial data; for details, please refer to the description of step S101 in the above method embodiment.

[0045] The second determining module 302 is used to determine whether the user has access rights according to the user's identity information; for details, please refer to the relevant description of step S102 in the above method embodiment.

[0046] The matching module 303 is used to match the user's identity information with the preset spatial data usage configuration information when the user has access rights. The preset spatial data usage configuration information includes identity information and spatial data usage permission information corresponding to the identity information; for details, please refer to the relevant description of step S103 in the above method embodiment.

[0047] The first processing module 304 is used to determine the spatial data usage authority of the user according to the matching result; for details, please refer to the relevant description of step S104 in the above method embodiment.

[0048] The device for accessing spatial data provided by the embodiment of the present invention matches and determines the corresponding accessible spatial data based on the user's identity information, thereby improving the spatial data content with a higher level of response according to different user needs and improving the security, controllability and accuracy of access.

[0049] As an optional implementation of an embodiment of the present invention, the device also includes: a cutting module, used to cut the spatial data to be accessed according to the target division conditions to obtain multiple spatial units; a third determination module, used to determine the data attribute information of each spatial unit according to the data type contained in each spatial unit obtained by division; a configuration module, used to configure the identity information of the accessible user corresponding to each spatial unit according to the data attribute information of each spatial unit.

[0050] As an optional implementation of the embodiment of the present invention, the device further includes: a second processing module, configured to process the data attribute information of the spatial unit to obtain a corresponding MD5 code.

[0051] As an optional implementation of an embodiment of the present invention, the spatial data usage permission information also includes usage permission information of spatial data layers for users with different identities and / or usage permission information of spatial data with different data attributes for users with different identities, where different spatial data layers correspond to different spatial data.

[0052] As an optional implementation of an embodiment of the present invention, the device also includes: a first loading module, used to load the matched spatial data layer to the user; a second loading module, used to filter and load the spatial data of the corresponding spatial unit in the spatial data layer when keyword information of the spatial unit uploaded by the user is obtained; and a third loading module, used to filter and load the spatial data of the corresponding attribute in the spatial unit according to the attribute information of the data type uploaded by the user when attribute information of the data type is obtained.

[0053] For a detailed description of the functions of the apparatus for accessing spatial data provided by the embodiment of the present invention, please refer to the description of the method for accessing spatial data in the above embodiment.

[0054] The embodiment of the present invention also provides a storage medium, such as Figure 4 As shown, a computer program 401 is stored thereon, and when the instructions are executed by the processor, the steps of the method for accessing spatial data in the above embodiment are implemented. The storage medium also stores audio and video stream data, feature frame data, interaction request signaling, encrypted data, and preset data size. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk drive (HDD) or a solid-state drive (SSD); the storage medium can also include a combination of the above types of memory.

[0055] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD). The storage medium can also include a combination of the above-mentioned types of memory.

[0056] The embodiment of the present invention further provides an electronic device, such as Figure 5 As shown, the electronic device may include a processor 51 and a memory 52, wherein the processor 51 and the memory 52 may be connected via a bus or other means. Figure 5 The bus connection is taken as an example.

[0057] The processor 51 may be a central processing unit (CPU). The processor 51 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0058] Memory 52, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as the corresponding program instructions / modules in the embodiments of the present invention. Processor 51 executes the non-transitory software programs, instructions, and modules stored in memory 52 to perform various processor functions and data processing, thereby implementing the method for accessing spatial data in the above-mentioned method embodiment.

[0059] The memory 52 may include a program storage area and a data storage area, wherein the program storage area may store applications required for operating the device and at least one function; the data storage area may store data created by the processor 51, etc. In addition, the memory 52 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 52 may optionally include a memory remotely located relative to the processor 51, and these remote memories may be connected to the processor 51 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0060] The one or more modules are stored in the memory 52 and when executed by the processor 51, perform the following steps: Figure 1 -2 is a method for accessing spatial data in the embodiment shown.

[0061] For details of the above electronic equipment, please refer to Figures 1 to 2 The corresponding descriptions and effects in the embodiments shown can be understood and will not be repeated here.

[0062] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for accessing spatial data, characterized in that: The steps include: When a user's access request for spatial data is received, the user's identity information is determined through VPN technology. The spatial data represents a quantitative description of objects and phenomena with location significance in the real world and is stored in an independent subnet; determining whether the user has access rights according to the user's identity information; When the user has access rights, the user's identity information is matched with preset spatial data usage configuration information, the preset spatial data usage configuration information includes identity information and spatial data usage permission information corresponding to the identity information, different identity information corresponds to different access rights, the preset spatial data usage configuration information includes usage permission information of different spatial units for users with different identities, the spatial data usage permission information also includes usage permission information of spatial data layers for users with different identities and usage permission information of spatial data with different data attributes for users with different identities, wherein different spatial data layers correspond to different spatial data; Determining the spatial data usage authority of the user based on the matching result; When receiving a user's access request for spatial data, before determining the user's identity information, the method further includes: The spatial data to be accessed is cut according to the target partitioning conditions to obtain multiple spatial units; Determining data attribute information of each spatial unit according to the data type contained in each spatial unit obtained by the division, wherein the data attribute information includes a name attribute and a type attribute; According to the data attribute information of each of the spatial units, the identity information of the accessible users corresponding thereto is configured; After determining the data attribute information of each spatial unit according to the data type contained in each spatial unit obtained by the division, the method further includes: Processing the data attribute information of the spatial unit to obtain a corresponding MD5 code, wherein the MD5 code is used to distinguish the spatiotemporal consistency of different spatial layers; Among them, when the user has access rights, the user's identity information is matched with the preset spatial data usage configuration information, including: when the user has access rights, the user's identity information is matched with the identity information of the target access space and the usage permission information of the spatial data corresponding to the identity information.

2. The method according to claim 1, characterized in that The spatial data usage permission information also includes usage permission information of users with different identities for spatial data layers or usage permission information of users with different identities for spatial data with different data attributes.

3. The method according to claim 2, characterized in that When the spatial data usage permission information includes usage permission information of spatial data layers for users with different identities, usage permission information of spatial data with different data attributes for users with different identities, and usage permission information of different spatial units for users with different identities; After determining the spatial data usage authority of the user according to the matching result, the method further includes: Loading the matched spatial data layer to the user; When keyword information of a spatial unit uploaded by a user is obtained, the spatial data of the corresponding spatial unit in the spatial data layer is filtered and loaded; When the attribute information of the data type uploaded by the user is obtained, spatial data of corresponding attributes is filtered and loaded in the spatial unit according to the attribute information of the data type.

4. A device for accessing spatial data, characterized in that: include: a first determination module configured to determine the identity information of a user through VPN technology upon receiving a user's request to access spatial data, wherein the spatial data represents a quantitative description of objects and phenomena with location significance existing in the real world and is stored in an independent subnet; A second determining module is used to determine whether the user has access rights according to the identity information of the user; a matching module for matching the user's identity information with preset spatial data usage configuration information when the user has access rights, the preset spatial data usage configuration information including identity information and spatial data usage permission information corresponding to the identity information, different identity information corresponding to different access rights, the preset spatial data usage configuration information including usage permission information for different spatial units for users with different identities, the spatial data usage permission information also including usage permission information for spatial data layers for users with different identities and usage permission information for spatial data with different data attributes for users with different identities, wherein different spatial data layers correspond to different spatial data; A first processing module is used to determine the spatial data usage authority of the user according to the matching result; The device further comprises: a cutting module for cutting the spatial data to be accessed according to the target division conditions to obtain multiple spatial units; a third determination module for determining the data attribute information of each spatial unit obtained by the division based on the data type contained in each spatial unit, the data attribute information including the name attribute and the type attribute; and a configuration module for configuring the identity information of the accessible user corresponding to each spatial unit based on the data attribute information of the spatial unit; The device further includes: a second processing module, configured to process the data attribute information of the spatial unit to obtain a corresponding MD5 code; The matching module is specifically configured to: when the user has access rights, match the user's identity information with the identity information of the target access space and the usage permission information of the space data corresponding to the identity information.

5. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method for accessing spatial data according to any one of claims 1 to 3.

6. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for accessing spatial data according to any one of claims 1 to 3 by executing the computer instructions.

Citation Information

Patent Citations

  • Space service authority control method and system

    CN108924115A

  • VPN resource access method, device, electronic equipment and medium

    CN113347072A

  • Space application permission control method, device and system

    CN113971005A