CN108052526A - Monitoring area right management method, device and storage medium - Google Patents

Monitoring area right management method, device and storage medium Download PDF

Info

Publication number
CN108052526A
CN108052526A CN201711087500.3A CN201711087500A CN108052526A CN 108052526 A CN108052526 A CN 108052526A CN 201711087500 A CN201711087500 A CN 201711087500A CN 108052526 A CN108052526 A CN 108052526A
Authority
CN
China
Prior art keywords
node
nodes
authority
lowest
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711087500.3A
Other languages
Chinese (zh)
Other versions
CN108052526B (en
Inventor
彭齐荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Intellifusion Technologies Co Ltd
Original Assignee
Shenzhen Intellifusion Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Intellifusion Technologies Co Ltd filed Critical Shenzhen Intellifusion Technologies Co Ltd
Priority to CN201711087500.3A priority Critical patent/CN108052526B/en
Publication of CN108052526A publication Critical patent/CN108052526A/en
Application granted granted Critical
Publication of CN108052526B publication Critical patent/CN108052526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

本申请实施例公开了一种监控区域权限管理方法、装置及存储介质,其中方法包括:接收监控区域权限分配指令,所述监控区域权限分配指令包括用户标识、预分配监控区域和所述预分配监控区域对应的权限属性;获取所述用户标识对应的权限节点得到N个最底层节点,所述N为正整数;获取所述预分配监控区域对应的预分配节点中包含的最底层的子节点得到Q个最底层节点,所述Q为正整数;根据所述权限属性、预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系生成所述用户标识对应的节点树。本申请实施例,提高了区域权限管理的灵活性。

The embodiment of the present application discloses a monitoring area authority management method, device, and storage medium, wherein the method includes: receiving a monitoring area authority allocation instruction, and the monitoring area authority allocation instruction includes a user ID, a pre-allocated monitoring area, and the pre-allocated monitoring area The authority attribute corresponding to the monitoring area; obtaining the authority node corresponding to the user ID to obtain N bottom-level nodes, where N is a positive integer; obtaining the lowest-level sub-node contained in the pre-allocation node corresponding to the pre-allocation monitoring area Obtaining Q lowest-level nodes, where Q is a positive integer; generating the corresponding user ID according to the authority attribute, the pre-stored association between the Q lowest-level nodes and the N lowest-level nodes node tree. The embodiment of the present application improves the flexibility of area authority management.

Description

监控区域权限管理方法、装置及存储介质Monitoring area authority management method, device and storage medium

技术领域technical field

本申请涉及计算机技术领域,具体涉及一种监控区域权限管理方法、装置及存储介质。The present application relates to the field of computer technology, and in particular to a monitoring area authority management method, device and storage medium.

背景技术Background technique

管理员为每一系统使用用户分配不同的监控区域,通过节点树存储分配给用户的监控区域对应的区域数据。然而,系统中存在多个节点,且每个节点之间的子节点的个数不定,如何高效地生成用户对应的节点树是本领域技术人员待解决的技术问题。The administrator assigns different monitoring areas to each system user, and stores the area data corresponding to the monitoring area assigned to the user through the node tree. However, there are multiple nodes in the system, and the number of sub-nodes between each node is indeterminate. How to efficiently generate a node tree corresponding to a user is a technical problem to be solved by those skilled in the art.

发明内容Contents of the invention

本申请实施例提出了一种监控区域权限管理方法、装置及存储介质,支持无限级区域结构,提高了确定用户权限和生成节点树的效率,便于提高区域权限管理的灵活性。The embodiment of the present application proposes a monitoring area authority management method, device and storage medium, which supports an infinite level area structure, improves the efficiency of determining user authority and generating a node tree, and facilitates the flexibility of area authority management.

第一方面,本申请实施例提供了一种监控区域权限管理方法,该方法包括:In the first aspect, the embodiment of the present application provides a monitoring area rights management method, the method includes:

接收监控区域权限分配指令,所述监控区域权限分配指令包括用户标识、预分配监控区域和所述预分配监控区域对应的权限属性;receiving a monitoring area authority allocation instruction, the monitoring area authority allocation instruction including a user ID, a pre-allocated monitoring area, and an authority attribute corresponding to the pre-allocated monitoring area;

获取所述用户标识对应的权限节点,得到N个最底层节点,所述N为正整数;Obtain the permission node corresponding to the user identifier, and obtain N bottom-level nodes, where N is a positive integer;

获取所述预分配监控区域对应的预分配节点中包含的最底层的子节点,得到Q个最底层节点,所述Q为正整数;Obtaining the lowest-level sub-nodes included in the pre-allocation node corresponding to the pre-allocation monitoring area, obtaining Q lowest-level nodes, and the Q is a positive integer;

根据所述权限属性、预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系生成所述用户标识对应的节点树。A node tree corresponding to the user identifier is generated according to the permission attribute, the pre-stored association relationship between the Q lowest-level nodes and the N lowest-level nodes.

第二方面,本申请实施例提供了一种监控区域权限管理装置,该装置包括:In the second aspect, the embodiment of the present application provides a monitoring area rights management device, which includes:

接收单元,用于接收监控区域权限分配指令,所述监控区域权限分配指令包括用户标识、预分配监控区域和所述预分配监控区域对应的权限属性;A receiving unit, configured to receive a monitoring area authority allocation instruction, where the monitoring area authority allocation instruction includes a user ID, a pre-allocated monitoring area, and an authority attribute corresponding to the pre-allocated monitoring area;

获取单元,用于获取所述用户标识对应的权限节点,得到N个最底层节点,所述N为正整数;获取所述预分配监控区域对应的预分配节点中包含的最底层的子节点,得到Q个最底层节点,所述Q为正整数;An acquisition unit, configured to acquire the authority node corresponding to the user identifier, to obtain N bottom-level nodes, where N is a positive integer; to obtain the bottom-level child nodes contained in the pre-allocated nodes corresponding to the pre-allocated monitoring area, Obtain Q lowest-level nodes, where Q is a positive integer;

生成单元,用于根据所述权限属性、预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系生成所述用户标识对应的节点树。A generating unit, configured to generate a node tree corresponding to the user identifier according to the authority attribute, the pre-stored association relationship between the Q lowest-level nodes and the N lowest-level nodes.

第三方面,本申请实施例提供了一种计算机可读存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令若被处理器执行时使所述处理器执行上述第一方面的方法。In a third aspect, the embodiment of the present application provides a computer-readable storage medium, the computer storage medium stores a computer program, the computer program includes program instructions, and if the program instructions are executed by a processor, the processing The device executes the method of the first aspect above.

本申请实施例,接收监控区域权限分配指令,获取监控区域权限分配指令中包含的用户标识、预分配监控区域和预分配监控区域对应的权限属性,获取用户标识对应的N个最底层节点和预分配监控区域对应的Q个最底层节点,根据权限属性、预先存储的Q个最底层节点和N个最底层节点之间的关联关系生成用户标识对应的节点树。也就是说,从底层开始一层一层地确定节点树中的节点,提高了确定用户权限和生成节点树的效率,便于提高区域权限管理的灵活性。In this embodiment of the present application, the monitoring area authority allocation instruction is received, the user identification contained in the monitoring area authority allocation instruction, the pre-allocated monitoring area, and the authority attributes corresponding to the pre-allocation monitoring area are obtained, and the N lowest-level nodes and pre-allocated monitoring areas corresponding to the user identification are obtained. Allocate the Q lowest-level nodes corresponding to the monitoring area, and generate a node tree corresponding to the user ID according to the authority attribute, the association relationship between the pre-stored Q lowest-level nodes and the N lowest-level nodes. That is to say, the nodes in the node tree are determined layer by layer starting from the bottom layer, which improves the efficiency of determining user rights and generating the node tree, and is convenient for improving the flexibility of regional rights management.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are For some embodiments of the present application, those of ordinary skill in the art can also obtain other drawings based on these drawings without creative effort.

其中:in:

图1是本申请实施例提供的一种监控区域权限管理方法的流程示意图;FIG. 1 is a schematic flow diagram of a monitoring area authority management method provided in an embodiment of the present application;

图1A是本申请实施例提供的一种所有监控区域对应的节点树的结构示意图;FIG. 1A is a schematic structural diagram of a node tree corresponding to all monitoring areas provided by an embodiment of the present application;

图1B是本申请实施例提供的一种用户对应的节点树的结构示意图;FIG. 1B is a schematic structural diagram of a user-corresponding node tree provided by an embodiment of the present application;

图1C是本申请实施例提供的另一种用户对应的节点树的结构示意图;FIG. 1C is a schematic structural diagram of another user-corresponding node tree provided by the embodiment of the present application;

图1D是本申请实施例提供的另一种用户对应的节点树的结构示意图;FIG. 1D is a schematic structural diagram of another user-corresponding node tree provided by the embodiment of the present application;

图2是本申请实施例提供的一种监控区域权限管理装置的结构示意图;FIG. 2 is a schematic structural diagram of a monitoring area authority management device provided by an embodiment of the present application;

图2A是本申请实施例提供的一种生成单元的结构示意图;FIG. 2A is a schematic structural diagram of a generation unit provided by an embodiment of the present application;

图3是本申请实施例提供的一种终端的结构示意图。FIG. 3 is a schematic structural diagram of a terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

本申请的监控区域的类型以分局、派出所和视频监视器为例,在实际应用中,该类型还可以包括其他形式,例如市公安局,省公安厅等等。The types of monitoring areas in this application are sub-bureaus, police stations, and video monitors as examples. In practical applications, this type can also include other forms, such as municipal public security bureaus, provincial public security bureaus, and so on.

本申请存储有所有监控区域对应的节点树,所有监控区域对应的节点树中除了根节点之外的每一节点包含该父节点标识ID,所有包含子节点的节点还包括其子节点列表。也就是说,通过该节点树可查询任一节点的父节点和子节点的情况,为查询各个节点之间的关联关系提供保证,可提高查询效率。The application stores the node trees corresponding to all monitoring areas, and each node except the root node in the node trees corresponding to all monitoring areas includes the ID of the parent node, and all nodes including child nodes also include their child node lists. That is to say, the parent node and child nodes of any node can be queried through the node tree, which provides a guarantee for querying the association relationship between various nodes, and can improve query efficiency.

当添加节点或删除节点时,对所有监控区域对应的节点树进行更新。且数据库每隔一段时间(例如,一分钟)对所有监控区域中添加或删除的节点进行同步,生成新的节点树,提高数据的可靠性。When adding a node or deleting a node, update the node tree corresponding to all monitoring areas. In addition, the database synchronizes the nodes added or deleted in all monitoring areas at regular intervals (for example, one minute) to generate a new node tree and improve data reliability.

每一用户对应一个节点树,该节点树上存储了分配给该用户拥有权限的监控区域对应的区域数据。其中,节点树中的每一节点对应一个监控区域,且每一节点的类型为该节点对应的监控区域的类型,每一节点的标识与该节点对应的监控区域的标识一致。Each user corresponds to a node tree, and the node tree stores the area data corresponding to the monitoring area assigned to the user with authority. Wherein, each node in the node tree corresponds to a monitoring area, and the type of each node is the type of the monitoring area corresponding to the node, and the identifier of each node is consistent with the identifier of the monitoring area corresponding to the node.

例如:假设第一分局的标识为111,则节点树中与第一分局对应的目标节点的标识为111,目标节点的类型为分局,且目标节点上存储的是第一分局对应的监控区域的区域数据。For example: assuming that the identifier of the first branch is 111, the identifier of the target node corresponding to the first branch in the node tree is 111, the type of the target node is a branch, and the target node stores the monitoring area corresponding to the first branch area data.

需要说明的是,本申请实施例中的节点树支持无限级区域结构,即可根据视频监视器的监控区域对应的位置进行分类,将派出所的监控区域分为多个区域,每个区域可包括多个视频监视器或包括多个视频监视器的子区域。It should be noted that the node tree in the embodiment of the present application supports an infinite-level area structure, that is, it can be classified according to the location corresponding to the monitoring area of the video monitor, and the monitoring area of the police station can be divided into multiple areas, and each area can include Multiple video monitors or a subarea that includes multiple video monitors.

现举一实例说明可能存在的监控区域之间的关联关系,第一分局可包括第一派出所和第二派出所,其中:第一派出所可包括第一视频监视器、第二视频监视器、第三视频监视器、第四视频监视器、第五视频监视器和第六视频监视器,第二派出所可包括第七视频监视器和第八视频监视器。将第一派出所分为第一区域和第二区域,第一区域可包括第一视频监视器、第一子区域和第二视频监视器,第一子区域可包括第三视频监视器和第四视频监视器,第二区域可包括第五视频监视器和第六视频监视器。如图1A所示,以第一分局为根节点的节点树中包括五层节点。Now give an example to illustrate the relationship between the possible monitoring areas. The first sub-bureau may include the first police station and the second police station, wherein: the first police station may include the first video monitor, the second video monitor, the third Video monitors, fourth video monitors, fifth video monitors and sixth video monitors, the second police station may include seventh video monitors and eighth video monitors. Divide the first police station into a first area and a second area, the first area may include the first video monitor, the first sub-area and the second video monitor, the first sub-area may include the third video monitor and the fourth video monitors, the second zone may include a fifth video monitor and a sixth video monitor. As shown in FIG. 1A, the node tree with the first sub-office as the root node includes five layers of nodes.

可选的,以表格的形式缓存所有监控区域的区域属性,该表格可包括每一个监控区域的标识、类型、上级监控区域的标识、下级监控区域的标识或数目等等中的一项或多项区域属性,即通过查表可查找该监控区域的区域属性。Optionally, the area attributes of all monitoring areas are cached in the form of a table, which may include one or more of the identification, type, identification of the upper-level monitoring area, identification or number of the lower-level monitoring area, etc. of each monitoring area Item area attribute, that is, the area attribute of the monitoring area can be found by looking up the table.

表1描述了上述例子的区域属性,根据表1可知,第一派出所和第二派出所的上级监控区域为第一分局;第一区域和第二区域的上级监控区域为第一派出所;第七视频监视器和第八视频监视器的上级监控区域为第二派出所;第一视频监视器、第一子区域和第二视频监视器的上级监控区域为第一区域;第三视频监视器和第四视频监视器的上级监控区域为第一子区域;第五视频监视器和第六视频监视器的上级监控区域为第二区域。Table 1 describes the regional attributes of the above example. According to Table 1, the superior monitoring area of the first police station and the second police station is the first sub-bureau; the superior monitoring area of the first area and the second area is the first police station; the seventh video The upper-level monitoring area of the monitor and the eighth video monitor is the second police station; the upper-level monitoring area of the first video monitor, the first sub-area, and the second video monitor is the first area; the third video monitor and the fourth The upper-level monitoring area of the video monitor is the first sub-area; the upper-level monitoring areas of the fifth video monitor and the sixth video monitor are the second area.

表1Table 1

监控区域monitoring area 下级监控区域Subordinate monitoring area 第一分局first branch 第一派出所和第二派出所The first police station and the second police station 第一派出所the first police station 第一区域和第二区域first area and second area 第二派出所Second Police Station 第七视频监视器和第八视频监视器Seventh video monitor and eighth video monitor 第一区域first area 第一视频监视器、第一子区域和第二视频监视器First video monitor, first sub-area and second video monitor 第二区域second area 第五视频监视器和第六视频监视器Fifth Video Monitor and Sixth Video Monitor 第一子区域first sub-area 第三视频监视器和第四视频监视器third video monitor and fourth video monitor

按照用户的权限确定用户的权限节点和非权限节点,可以理解,若权限节点存在子节点,则该权限节点的子节点也为权限节点;若一个节点为非权限节点,则该节点的父节点、该节点的父节点的父节点等直到根节点均为非权限节点。Determine the user's authority node and non-authority node according to the user's authority. It can be understood that if the authority node has child nodes, the child nodes of the authority node are also authority nodes; if a node is a non-authority node, the parent node of the node , the parent node of the node, and so on up to the root node are non-authorized nodes.

用户对应的节点树中包括用户的权限节点和权限节点关联的上级节点,而不包括与权限节点不关联的非权限节点,即节点树中不包含子节点的节点为权限节点,而包含子节点的节点,在子节点均为权限节点时,该节点才为权限节点,否则为非权限节点。The node tree corresponding to the user includes the user's authority node and the superior node associated with the authority node, excluding the non-authority node that is not associated with the authority node, that is, the node that does not contain child nodes in the node tree is a authority node, and the child node that contains The node is a permission node when its child nodes are all permission nodes, otherwise it is a non-privilege node.

在本申请中,数据库中存储有用户的权限节点对应的区域数据,并支持权限节点的子节点对应的区域数据之间的数据合并,以最高层级的权限节点作为权限区域节点,并以该权限区域节点为存储单元进行存储,则数据库中包含用户和每一分支中最高层级的权限之间的关联关系,从而减少了区域数据的存储数量,节省了存储空间,可提高查询效率。In this application, the database stores the area data corresponding to the authority node of the user, and supports data merging between the area data corresponding to the child nodes of the authority node. The highest level authority node is used as the authority area node, and the authority node The regional nodes are stored as storage units, and the database contains the association relationship between users and the highest-level permissions in each branch, thereby reducing the amount of stored regional data, saving storage space, and improving query efficiency.

举例来说,假设如图1A所示的节点树为所有监控区域的节点树,如图1B为用户标识为888对应的节点树,根据图1A和图1B可知用户的权限树中的权限节点为第一视频监视器节点、第二视频监视器节点、第三视频监视器节点、第五视频监视器节点、第七视频监视器节点、第八视频监视器节点和第二派出所节点;用户的权限树中的非权限节点为第一子区域节点、第一区域节点、第二区域节点、第一分局节点和第一派出所节点;权限区域节点为第一视频监视器节点、第二视频监视器节点、第三视频监视器节点、第五视频监视器节点和第二派出所节点,则数据库分别存储了与第一视频监视器节点、第二视频监视器节点、第三视频监视器节点、第五视频监视器节点和第二派出所节点对应的区域数据,且第二派出所节点对应的区域数据为第七视频监视器节点和第八视频监视器节点的合并数据。For example, assuming that the node tree shown in Figure 1A is the node tree of all monitoring areas, Figure 1B is the node tree corresponding to the user ID 888, according to Figure 1A and Figure 1B, it can be seen that the authority nodes in the user's authority tree are The first video monitor node, the second video monitor node, the third video monitor node, the fifth video monitor node, the seventh video monitor node, the eighth video monitor node and the second police station node; user's authority The non-authorized nodes in the tree are the first sub-area node, the first area node, the second area node, the first branch office node and the first police station node; the authorized area nodes are the first video monitor node, the second video monitor node , the third video monitor node, the fifth video monitor node and the second police station node, then the database stores the information related to the first video monitor node, the second video monitor node, the third video monitor node, the fifth video monitor node The area data corresponding to the monitor node and the second police station node, and the area data corresponding to the second police station node are merged data of the seventh video monitor node and the eighth video monitor node.

当用户登录系统时,通过存储的所有监控区域对应的节点树和数据库中存储的用户和权限区域节点之间的关联关系确定该用户的权限节点和权限节点关联的上级节点,并生成该用户对应的节点树,则用户可通过登录系统中节点树对应的操作区域进行数据的查询或编辑。When a user logs in to the system, the user's authority node and the upper-level node associated with the authority node are determined through the stored node tree corresponding to all monitoring areas and the association relationship between the user and the authority area nodes stored in the database, and the user's corresponding The node tree, the user can query or edit data by logging in to the operation area corresponding to the node tree in the system.

可选的,在预设时长内缓存该用户对应的节点树,避免每次操作该节点树之前均要重新生成,造成资源的浪费。并在预设时长到达时,释放缓存中存储的该用户对应的节点树,从而节省存储空间。若在预设时长内,管理员为用户分配权限,则删除缓存中的该节点树,再生成新的节点树。Optionally, the node tree corresponding to the user is cached within a preset period of time, so as to avoid the need to regenerate the node tree before each operation, resulting in waste of resources. And when the preset duration is reached, the node tree corresponding to the user stored in the cache is released, thereby saving storage space. If the administrator assigns permissions to the user within the preset time period, the node tree in the cache will be deleted and a new node tree will be generated.

本申请实施例提出了一种监控区域权限管理方法、装置及存储介质,支持无限级区域结构,提高了确定用户权限和生成节点树的效率,便于提高区域权限管理的灵活性。下面对本申请实施例进行详细介绍。The embodiment of the present application proposes a monitoring area authority management method, device and storage medium, which supports an infinite level area structure, improves the efficiency of determining user authority and generating a node tree, and facilitates the flexibility of area authority management. The following describes the embodiments of the present application in detail.

请参见图1,图1是本申请实施例提供的一种监控区域权限管理方法的流程示意图,如图1所示,该监控区域权限管理方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flow diagram of a monitoring area authority management method provided in an embodiment of the present application. As shown in FIG. 1, the monitoring area authority management method includes:

101、接收监控区域权限分配指令。101. Receive a monitoring area authority allocation instruction.

在本申请实施例中,监控区域权限分配指令中至少包括用户标识、预分配监控区域和预分配监控区域对应的权限属性,用于为用户标识对应的用户分配预分配监控区域对应的预分配节点的权限,即当权限属性为添加,且用户的权限节点中不包括预分配节点时,给用户添加预分配节点的权限,当权限属性为删除,且用户的权限节点中包括预分配节点时,删除用户的预分配节点的权限。本申请实施例对于监控区域权限分配指令的具体内容不做限定。In the embodiment of the present application, the monitoring area authorization allocation instruction includes at least the user ID, the pre-allocation monitoring area, and the authorization attribute corresponding to the pre-allocation monitoring area, and is used to assign the pre-allocation node corresponding to the pre-allocation monitoring area to the user corresponding to the user ID permissions, that is, when the permission attribute is Add, and the user’s permission nodes do not include pre-allocated nodes, the user is given the permission to add pre-allocated nodes; when the permission attribute is Delete, and the user’s permission nodes include pre-allocated nodes, Permission to delete a user's preassigned nodes. The embodiment of the present application does not limit the specific content of the monitoring area authority allocation instruction.

102、获取用户标识对应的权限节点得到N个最底层节点。102. Obtain the permission node corresponding to the user identifier to obtain N bottom-level nodes.

在本申请实施例中,N为正整数,N个最底层节点均为用户的权限节点。N个最底层节点可在缓存中查询该用户对应的节点树中每一分支最底层的节点进行获取;还可通过数据库中存储的区域数据对应的权限节点获取权限区域节点,并结合预先存储的每一节点的子节点列表查找该权限区域节点中包含的最底层的子节点,具体为:获取所述用户标识对应的权限区域节点,得到多个权限区域节点;获取所述多个权限区域节点中包含的最底层的子节点,得到所述N个最底层节点。In the embodiment of the present application, N is a positive integer, and the N lowest-level nodes are all authorized nodes of the user. The N lowest-level nodes can be obtained by querying the lowest-level node of each branch in the node tree corresponding to the user in the cache; the authority area node can also be obtained through the authority node corresponding to the area data stored in the database, and combined with the pre-stored The child node list of each node searches for the bottommost child node contained in the authority area node, specifically: obtaining the authority area node corresponding to the user ID, obtaining multiple authority area nodes; obtaining the multiple authority area nodes The bottommost child nodes contained in , to obtain the N bottommost nodes.

103、获取预分配监控区域对应的预分配节点中包含的最底层的子节点得到Q个最底层节点。103. Obtain the lowest-level child nodes included in the pre-allocated nodes corresponding to the pre-allocated monitoring area to obtain Q lowest-level nodes.

其中,Q为正整数,Q个最底层节点均为用户的预分配节点,即当权限属性为添加,且N个最底层节点中不包括Q个最底层节点时,给用户添加Q个最底层节点的权限;当权限属性为删除,且N个最底层节点中包括Q个最底层节点时,删除用户的Q个最底层节点的权限。Among them, Q is a positive integer, and the Q lowest-level nodes are all pre-allocated nodes of the user, that is, when the permission attribute is added, and the N lowest-level nodes do not include the Q lowest-level nodes, Q lowest-level nodes are added to the user The permission of the node; when the permission attribute is delete, and the N bottom nodes include Q bottom nodes, delete the permissions of the Q bottom nodes of the user.

104、根据权限属性、预先存储的Q个最底层节点和N个最底层节点之间的关联关系生成用户标识对应的节点树。104. Generate a node tree corresponding to the user identifier according to the authority attribute, the pre-stored association relationship between the Q bottom nodes and the N bottom nodes.

可选的,根据所述权限属性、所述预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系确定所述Q个最底层节点和所述N个最底层节点中的权限节点,得到多个权限节点;将所述多个权限节点作为目标节点集,迭代执行:获取所述目标节点集中每一节点对应的父节点,得到多个父节点;根据所述多个父节点中每一父节点包含的权限节点中是否包含该父节点的子节点列表中的所有节点确定所述多个父节点中的权限节点和非权限节点;将所述多个父节点作为所述目标节点集,在所述多个父节点中包含根节点时,结束迭代;根据所述确定的权限节点和非权限节点之间的关联关系生成所述节点树。Optionally, determining the Q lowest-level nodes and the N lowest-level nodes according to the authority attribute and the pre-stored association relationship between the Q lowest-level nodes and the N lowest-level nodes The authority node in the node obtains a plurality of authority nodes; using the plurality of authority nodes as a target node set, iteratively executes: obtains the parent node corresponding to each node in the target node set, and obtains a plurality of parent nodes; according to the Whether the authority node contained in each parent node in the plurality of parent nodes includes all nodes in the child node list of the parent node to determine the authority nodes and non-authority nodes in the plurality of parent nodes; the plurality of parent nodes As the target node set, when a root node is included in the plurality of parent nodes, the iteration ends; and the node tree is generated according to the determined association relationship between authorized nodes and non-authorized nodes.

其中,所述根据所述多个父节点中每一父节点包含的权限节点中是否包含该父节点的子节点列表中的所有节点确定所述多个父节点中的权限节点和非权限节点,包括:若多个父节点中的一个父节点的子节点包含该父节点的子节点列表中的所有节点,则确定该父节为权限节点,否则,该父节点为非权限节点。Wherein, determining the authority nodes and non-authority nodes in the plurality of parent nodes according to whether the authority nodes contained in each parent node of the plurality of parent nodes includes all nodes in the child node list of the parent node, Including: if the child nodes of a parent node among the multiple parent nodes include all nodes in the child node list of the parent node, then determine that the parent node is an authorized node; otherwise, the parent node is a non-authorized node.

由于实际情况中已分配的权限节点对应的权限区域节点与预分配节点之间可能存在复杂的连接关系,例如:权限区域节点和预分配节点之间隔了多个节点。根据权限属性、预先存储的Q个最底层节点和N个最底层节点之间的关联关系从底层开始确定每一层节点中用户的权限节点和权限节点关联的父节点,即确定用户标识对应的节点树中包含的所有节点和每一节点之间的连接关系,从而生成节点树,提高了用户拥有的权限节点的效率和生成节点树的效率,便于提高区域权限管理的灵活性。In the actual situation, there may be a complicated connection relationship between the authority area node corresponding to the allocated authority node and the pre-allocation node, for example, multiple nodes are separated between the authority area node and the pre-allocation node. According to the authority attribute, the pre-stored relationship between the Q lowest-level nodes and the N lowest-level nodes, the user's authority node and the parent node associated with the authority node in each layer of nodes are determined from the bottom layer, that is, the corresponding user ID is determined. All the nodes contained in the node tree and the connection relationship between each node are generated to generate the node tree, which improves the efficiency of the authority nodes owned by the user and the efficiency of generating the node tree, and facilitates the improvement of the flexibility of regional authority management.

举例来说,接收监控区域权限分配指令,其中用户标识为888,预分配监控区域为第四视频监视器节点对应的监控区域,且第四视频监视器节点对应的权限属性为添加,Q个最底层节点为第四视频监视器节点。根据用户标识888查找数据库中该用户拥有的权限区域节点和存储的所有监控区域对应的节点树,获取该用户的N个最底层节点为:第一视频监视器节点、第二视频监视器节点、第三视频监视器节点、第五视频监视器节点、第七视频监视器节点和第八视频监视器节点,与之对应的节点树如图1B所示。当为用户添加第四视频监视器节点的权限时,根据存储的第四视频监视器节点和N个最底层节点之间的关联关系确定第四视频监视器节点和N个最底层节点均为用户的节点树中的权限节点;获取上述权限节点对应的父节点为:第一子区域节点、第二派出所节点、第一区域节点和第二区域节点,根据上述父节点包含的权限节点中是否包含该父节点的子节点列表中的所有节点确定权限节点为第一子区域节点、第二派出所节点和第一区域节点,非权限节点为第二区域节点;再获取第二派出所节点、第一区域节点和第二区域节点的父节点得到第一派出所节点和第一分局节点,根据第一派出所节点和第二区域节点包含的权限节点不包含其子节点列表中的所有节点确定第一派出所节点和第一分局节点均为非权限节点,且第一分局节点为根节点,则确定用户对应的节点树中包含的节点和每一节点的关联关系,得到的节点树如图1C所示。For example, receiving a monitoring area authority allocation instruction, wherein the user ID is 888, the pre-allocated monitoring area is the monitoring area corresponding to the fourth video monitor node, and the authority attribute corresponding to the fourth video monitor node is Add, and the Q most The bottom node is the fourth video monitor node. According to the user identification 888, search the node tree corresponding to the authority area node owned by the user in the database and all the monitoring areas stored, and obtain the N bottom-most nodes of the user as: the first video monitor node, the second video monitor node, The node tree corresponding to the third video monitor node, the fifth video monitor node, the seventh video monitor node and the eighth video monitor node is shown in FIG. 1B . When adding the authority of the fourth video monitor node for the user, it is determined that the fourth video monitor node and the N lowest nodes are all users according to the association relationship between the stored fourth video monitor node and the N lowest nodes The authority node in the node tree of the above authority node; the parent node corresponding to the above authority node is: the first child area node, the second police station node, the first area node and the second area node, according to whether the authority node contained in the above parent node contains All nodes in the child node list of the parent node determine that the authority node is the first child area node, the second police station node and the first area node, and the non-authorized node is the second area node; then obtain the second police station node, the first area node The parent node of the node and the second area node obtains the first police station node and the first sub-bureau node, and determines the first police station node and The first branch nodes are all non-authorized nodes, and the first branch node is the root node, then determine the nodes contained in the node tree corresponding to the user and the association relationship of each node, and the obtained node tree is shown in Figure 1C.

再举例来说,接收监控区域权限分配指令,其中用户标识为888,预分配监控区域为第三视频监视器节点对应的监控区域,且第三视频监视器节点对应的权限属性为删除,Q个最底层节点为第三视频监视器节点。根据用户标识888查找数据库中该用户拥有的权限区域节点和存储的所有监控区域对应的节点树,获取该用户的N个最底层节点为:第一视频监视器节点、第二视频监视器节点、第三视频监视器节点、第五视频监视器节点、第七视频监视器节点和第八视频监视器节点,与之对应的节点树如图1B所示。当为用户删除第三视频监视器节点的权限时,根据存储的第三视频监视器节点和N个最底层节点之间的关联关系确定权限节点为N个最底层节点中除了第三视频监视器节点之外的所有节点;获取上述权限节点对应的父节点为:第二派出所节点、第一区域节点和第二区域节点,根据上述父节点子节点是否包含该父节点的子节点列表中的所有节点确定权限节点为第二派出所节点,非权限节点为第一区域节点和第二区域节点;再获取第二派出所节点、第一区域节点和第二区域节点的父节点得到第一派出所节点和第一分局节点,根据第一派出所节点和第二区域节点包含的权限节点不包含其子节点列表中的所有节点确定第一派出所节点和第一分局节点均为非权限节点,且第一分局节点为根节点,则确定用户对应的节点树中包含的节点和每一节点的关联关系,得到的节点树如图1D所示。For another example, receiving the monitoring area authority allocation instruction, wherein the user ID is 888, the pre-allocated monitoring area is the monitoring area corresponding to the third video monitor node, and the authority attribute corresponding to the third video monitor node is delete, Q The bottommost node is the third video monitor node. According to the user identification 888, search the node tree corresponding to the authority area node owned by the user in the database and all the monitoring areas stored, and obtain the N bottom-most nodes of the user as: the first video monitor node, the second video monitor node, The node tree corresponding to the third video monitor node, the fifth video monitor node, the seventh video monitor node and the eighth video monitor node is shown in FIG. 1B . When deleting the authority of the third video monitor node for the user, according to the association relationship between the stored third video monitor node and the N lowest nodes, it is determined that the authority node is the N lowest node except the third video monitor All nodes except the node; the parent nodes corresponding to the above-mentioned permission nodes are: the second police station node, the first area node and the second area node, according to whether the child nodes of the above parent node include all the child nodes in the parent node list The node determines that the authority node is the second police station node, and the non-authority nodes are the first area node and the second area node; then obtain the parent nodes of the second police station node, the first area node, and the second area node to obtain the first police station node and the second area node A sub-office node, according to the fact that the authority nodes included in the first police station node and the second regional node do not contain all the nodes in its child node list, it is determined that the first police station node and the first branch office node are non-authorized nodes, and the first branch office node is The root node determines the nodes contained in the node tree corresponding to the user and the association relationship of each node, and the obtained node tree is shown in FIG. 1D .

可选的,合并所述节点树中的权限节点包含的子节点的区域数据;以最高层级对应的权限节点为存储单元进行存储。Optionally, the area data of the sub-nodes contained in the authority nodes in the node tree are merged; and the authority node corresponding to the highest level is used as a storage unit for storage.

也就是说,获取节点树中的权限节点,通过合并权限节点中包含的子节点的区域数据,并以最高层级对应的权限节点进行存储,可节省存储空间,利于提高查询效率。That is to say, by obtaining the authority nodes in the node tree, by merging the area data of the sub-nodes contained in the authority nodes, and storing them with the authority nodes corresponding to the highest level, the storage space can be saved and the query efficiency can be improved.

举例来说,如图1B所示的权限树,在添加第四视频监视器节点之后得到如图1C所示的权限树,权限树包含的权限节点为:第一视频监视器节点、第二视频监视器节点、第三视频监视器节点、第四视频监视器节点、第五视频监视器节点、第七视频监视器节点、第八视频监视器节点、第一子区域节点、第一区域节点和第二派出所节点,则合并第三视频监视器节点和第四视频监视器节点对应的区域数据得到第一子区域节点的区域数据,再合并第一视频监视器节点、第二视频监视器节点和第一子区域节点的区域数据得到第一区域节点的区域数据;合并第七视频监视器节点和第八视频监视器节点对应的区域数据得到第二派出所节点的区域数据,即数据库中包括第一区域节点、第二派出所节点和第五视频监视器节点的区域数据。若不进行数据的合并,则数据库中存储有第一视频监视器节点、第二视频监视器节点、第三视频监视器节点、第四视频监视器节点、第五视频监视器节点、第七视频监视器节点和第八视频监视器节点共7条数据,而经过权限节点的数据合并之后,数据库中存储有3条数据,从而减少了区域数据的数量,节省了存储空间,可提高查询效率。For example, for the permission tree shown in Figure 1B, after adding the fourth video monitor node, the permission tree shown in Figure 1C is obtained. The permission nodes included in the permission tree are: the first video monitor node, the second video monitor node a monitor node, a third video monitor node, a fourth video monitor node, a fifth video monitor node, a seventh video monitor node, an eighth video monitor node, a first sub-area node, a first area node, and The second police station node then merges the area data corresponding to the third video monitor node and the fourth video monitor node to obtain the area data of the first sub-area node, and then merges the first video monitor node, the second video monitor node and The area data of the first sub-area node obtains the area data of the first area node; merges the area data corresponding to the seventh video monitor node and the eighth video monitor node to obtain the area data of the second police station node, that is, the database includes the first Regional data for the regional node, the second police station node, and the fifth video monitor node. If data merging is not carried out, the first video monitor node, the second video monitor node, the third video monitor node, the fourth video monitor node, the fifth video monitor node, the seventh video monitor node, and the fifth video monitor node are stored in the database. The monitor node and the eighth video monitor node have a total of 7 pieces of data, and after the data of the authority node is merged, there are 3 pieces of data stored in the database, thereby reducing the number of regional data, saving storage space, and improving query efficiency.

需要说明的是,监控区域权限分配指令由具有权限的管理员发送的,即管理员依然只能查看自己权限范围内的节点和编辑对应权限节点对应的区域数据。由于每个管理员的权限不一致,也就是说发送监控区域权限分配指令的管理员的权限可能可以查看用户标识对应的节点树,也有可能只能看见部分的节点树,甚至可能看不见节点树,即管理员分配权限时,而没有展示用户的节点树和节点树对应的区域数据,从而提高了权限管理的安全性。It should be noted that the monitoring area authority allocation command is sent by the administrator with authority, that is, the administrator can still only view the nodes within the scope of his authority and edit the area data corresponding to the node with the corresponding authority. Since the authority of each administrator is inconsistent, that is to say, the authority of the administrator who sends the monitoring area authority allocation instruction may be able to view the node tree corresponding to the user ID, or may only see part of the node tree, or may not even see the node tree. That is, when the administrator assigns permissions, the user's node tree and the area data corresponding to the node tree are not displayed, thereby improving the security of permission management.

可选的,所述方法还包括:根据所述N个最底层节点和所述Q个最底层节点中每一节点的权限属性判断所述Q个最底层节点是否包含未修改权限的节点,若是,发送提示消息。Optionally, the method further includes: judging whether the Q bottom nodes include nodes with unmodified permissions according to the permission attribute of each node in the N bottom nodes and the Q bottom nodes, if , to send a reminder message.

可以理解,N个最底层节点中每一最底层节点的权限属性均为拥有权限,而Q个最底层节点的权限属性与预分配监控区域对应的权限属性一致。未修改权限的节点是指Q个最底层节点中节点的权限属性和在接收监控区域权限分配指令之前用户拥有该节点的权限属性一致。也就是说,当预分配监控区域对应的权限属性为添加时,若Q个最底层节点中包含N个最底层节点中的一个节点时,该节点为未修改权限的节点;当预分配监控区域对应的权限属性为删除时,若Q个最底层节点中不包含N个最底层节点中的任何一个节点时,该节点为未修改权限的节点。It can be understood that the authority attribute of each of the N lowest-level nodes is an owning authority, and the authority attributes of the Q lowest-level nodes are consistent with the authority attributes corresponding to the pre-allocated monitoring areas. The node with unmodified authority refers to that the authority attribute of the node among the Q lowest-level nodes is consistent with the authority attribute of the node owned by the user before receiving the monitoring area authority allocation instruction. That is to say, when the authority attribute corresponding to the pre-assigned monitoring area is Add, if one of the N lowest-level nodes is included in the Q lowest-level nodes, the node is a node with unmodified authority; when the pre-allocated monitoring area When the corresponding authority attribute is delete, if the Q lowest-level nodes do not include any one of the N lowest-level nodes, the node is a node with no modified authority.

提示消息用于告知发送监控区域权限分配指令的管理员存在未修改权限的节点,即未修改权限的节点的权限未作修改,此次分配的是修改权限的节点的权限,可提高操作的实用性。The prompt message is used to inform the administrator who sent the monitoring area authority allocation command that there are nodes with unmodified authority, that is, the authority of the node with unmodified authority has not been modified, and the authority of the node with modified authority is assigned this time, which can improve the practicality of the operation sex.

上述的未修改权限节点可以以单独的节点形式告知,也可通过合并节点的形式告知,在此不做限定。The aforementioned unmodified authority nodes can be notified in the form of individual nodes, or in the form of merged nodes, which is not limited here.

需要说明的是,本申请仅以一个预分配监控区域进行说明,实际情况中可包括多个预分配监控区域,其中每一预分配监控区域均可按照本申请所涉及的方法进行权限分配。It should be noted that this application only uses one pre-allocated monitoring area for illustration. In actual situations, there may be multiple pre-allocated monitoring areas, and each pre-allocated monitoring area can be assigned authority according to the method involved in this application.

请参阅图2,图2是本申请实施例提供的一种监控区域权限管理装置的结构示意图,如图2所示,该装置200可包括:Please refer to FIG. 2. FIG. 2 is a schematic structural diagram of a monitoring area rights management device provided by the embodiment of the present application. As shown in FIG. 2, the device 200 may include:

接收单元201,用于接收监控区域权限分配指令,所述监控区域权限分配指令包括用户标识、预分配监控区域和所述预分配监控区域对应的权限属性;The receiving unit 201 is configured to receive a monitoring area authority allocation instruction, where the monitoring area authority allocation instruction includes a user ID, a pre-allocated monitoring area, and an authority attribute corresponding to the pre-allocated monitoring area;

获取单元202,用于获取所述用户标识对应的权限节点,得到N个最底层节点,所述N为正整数;获取所述预分配监控区域对应的预分配节点中包含的最底层的子节点,得到Q个最底层节点,所述Q为正整数;The obtaining unit 202 is configured to obtain the authority node corresponding to the user identifier, and obtain N bottom-level nodes, where N is a positive integer; obtain the bottom-level sub-node contained in the pre-allocation node corresponding to the pre-allocation monitoring area , to obtain Q lowest-level nodes, where Q is a positive integer;

生成单元203,用于根据所述权限属性、预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系生成所述用户标识对应的节点树。The generation unit 203 is configured to generate a node tree corresponding to the user identifier according to the permission attribute, the pre-stored association relationship between the Q bottom-most nodes and the N bottom-most nodes.

作为一种可选的实施例,所述获取单元202具体用于获取所述用户标识对应的权限区域节点,得到多个权限区域节点,所述权限区域节点为最高层级的权限节点;获取所述多个权限区域节点中包含的最底层的子节点,得到所述N个最底层节点。As an optional embodiment, the acquiring unit 202 is specifically configured to acquire the authority area node corresponding to the user identifier, and obtain a plurality of authority area nodes, the authority area node being the highest-level authority node; acquiring the The bottom-most child nodes contained in the plurality of authority area nodes are obtained to obtain the N bottom-level nodes.

作为一种可选的实施例,如图2A所示,所述生成单元203包括:As an optional embodiment, as shown in FIG. 2A, the generating unit 203 includes:

确定模块2031,用于根据所述权限属性、所述预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系确定所述Q个最底层节点和所述N个最底层节点中的权限节点,得到多个权限节点;A determination module 2031, configured to determine the Q lowest-level nodes and the N lowest-level nodes according to the permission attribute and the pre-stored association between the Q lowest-level nodes and the N lowest-level nodes. The authority node in the lowest-level node obtains multiple authority nodes;

迭代模块2032,用于将所述多个权限节点作为目标节点集,迭代执行:获取所述目标节点集中每一节点对应的父节点,得到多个父节点;根据所述多个父节点中每一父节点包含的权限节点中是否包含该父节点的子节点列表中的所有节点确定所述多个父节点中的权限节点和非权限节点;将所述多个父节点作为所述目标节点集,在所述多个父节点中包含根节点时,结束迭代;The iterative module 2032 is configured to use the plurality of authority nodes as a target node set, iteratively execute: obtain the parent node corresponding to each node in the target node set, and obtain multiple parent nodes; according to each of the multiple parent nodes Whether the authority node contained in a parent node contains all nodes in the child node list of the parent node determines authority nodes and non-authority nodes in the plurality of parent nodes; using the plurality of parent nodes as the target node set , when the root node is included in the plurality of parent nodes, the iteration ends;

生成模块2033,用于根据所述确定的权限节点和非权限节点之间的关联关系生成所述节点树。A generating module 2033, configured to generate the node tree according to the determined association relationship between the authorized node and the non-authorized node.

作为一种可选的实施例,所述装置200还包括:As an optional embodiment, the device 200 also includes:

合并单元204,用于合并所述节点树中的权限节点包含的子节点的区域数据;a merging unit 204, configured to merge the area data of the child nodes contained in the authority nodes in the node tree;

存储单元205,用于以最高层级对应的权限节点为存储单元进行存储。The storage unit 205 is configured to store the authority node corresponding to the highest level as the storage unit.

作为一种可选的实施例,所述装置200还包括:As an optional embodiment, the device 200 also includes:

提示单元206,用于根据所述N个最底层节点和所述Q个最底层节点中每一节点的权限属性判断所述Q个最底层节点是否包含未修改权限的节点,若是,发送提示消息。Prompt unit 206, configured to judge whether the Q bottom nodes include nodes with unmodified permissions according to the permission attribute of each node in the N bottom nodes and the Q bottom nodes, and if so, send a prompt message .

可理解的是,本实施例的装置200的各功能单元的功能可根据上述图1方法实施例的方法具体实现,此处不再赘述。It can be understood that the functions of the functional units of the apparatus 200 in this embodiment can be specifically implemented according to the method in the method embodiment in FIG. 1 , which will not be repeated here.

实施本申请实施例,接收监控区域权限分配指令,获取监控区域权限分配指令中包含的用户标识、预分配监控区域和预分配监控区域对应的权限属性,获取用户标识对应的N个最底层节点和预分配监控区域对应的Q个最底层节点,根据权限属性、预先存储的Q个最底层节点和N个最底层节点之间的关联关系生成用户标识对应的节点树。也就是说,从底层开始一层一层地确定节点树中的节点,提高了确定用户权限和生成节点树的效率,便于提高区域权限管理的灵活性。Implement the embodiment of the present application, receive the monitoring area authority allocation instruction, obtain the user identification contained in the monitoring area authority allocation instruction, the pre-allocation monitoring area and the authority attribute corresponding to the pre-allocation monitoring area, and obtain the N bottom-level nodes corresponding to the user identification and Pre-allocate the Q lowest-level nodes corresponding to the monitoring area, and generate a node tree corresponding to the user identifier according to the authority attribute, the association relationship between the pre-stored Q lowest-level nodes and the N lowest-level nodes. That is to say, the nodes in the node tree are determined layer by layer starting from the bottom layer, which improves the efficiency of determining user rights and generating the node tree, and is convenient for improving the flexibility of regional rights management.

请参见图3,图3是本申请实施例提供的一种终端的结构示意图。如图3所示,本实施例中的终端可以包括:一个或多个处理器301;一个或多个输入设备302,一个或多个输出设备303和存储器304。上述处理器301、输入设备302、输出设备303和存储器304通过总线305连接。存储器304用于存储指令和数据,处理器301用于执行存储器302存储的指令。Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a terminal provided in an embodiment of the present application. As shown in FIG. 3 , the terminal in this embodiment may include: one or more processors 301 ; one or more input devices 302 , one or more output devices 303 and a memory 304 . The aforementioned processor 301 , input device 302 , output device 303 and memory 304 are connected through a bus 305 . The memory 304 is used to store instructions and data, and the processor 301 is used to execute the instructions stored in the memory 302 .

其中,输入设备302用于接收监控区域权限分配指令,所述监控区域权限分配指令包括用户标识、预分配监控区域和所述预分配监控区域对应的权限属性;存储器304还用于存储Q个最底层节点和N个最底层节点之间的关联关系;处理器301用于获取所述用户标识对应的权限节点,得到所述N个最底层节点,所述N为正整数;获取所述预分配监控区域对应的预分配节点中包含的最底层的子节点,得到所述Q个最底层节点,所述Q为正整数;根据所述权限属性、所述预先存储的Q个最底层节点和N个最底层节点之间的关联关系生成所述用户标识对应的节点树。Wherein, the input device 302 is used to receive the monitoring area authority allocation instruction, and the monitoring area authority allocation instruction includes a user ID, a pre-allocated monitoring area, and an authority attribute corresponding to the pre-allocated monitoring area; the memory 304 is also used to store the Q most The association relationship between the bottom node and the N bottom nodes; the processor 301 is used to obtain the authority node corresponding to the user identification, and obtain the N bottom nodes, and the N is a positive integer; obtain the pre-allocated monitor the sub-nodes at the lowest level contained in the pre-allocated nodes corresponding to the monitoring area, and obtain the Q lowest-level nodes, where Q is a positive integer; according to the authority attribute, the pre-stored Q lowest-level nodes and N A node tree corresponding to the user ID is generated from the association relationship between the bottommost nodes.

具体实现中,本申请实施例中所描述的处理器301、输入设备302、输出设备303可执行本申请实施例提供的监控区域权限管理方法中所描述的实现方式,也可执行本申请实施例所描述的监控区域权限管理装置的实现方式,在此不再赘述。In specific implementation, the processor 301, the input device 302, and the output device 303 described in the embodiment of the application can execute the implementation described in the monitoring area authority management method provided in the embodiment of the application, and can also execute the embodiment of the application The implementation of the described monitoring area authority management device will not be repeated here.

在本申请的另一实施例中提供一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序包括程序指令,上述程序指令当被处理器执行时使上述处理器执行监控区域权限管理方法中所描述的实现方式。In another embodiment of the present application, a computer-readable storage medium is provided, the above-mentioned computer-readable storage medium stores a computer program, the above-mentioned computer program includes program instructions, and when the above-mentioned program instructions are executed by a processor, the above-mentioned processor executes The implementation described in Monitoring Area Rights Management Method.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the relationship between hardware and software Interchangeability. In the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的终端和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the terminal and the unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的终端和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided in this application, it should be understood that the disclosed terminal and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present application.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the above integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of software products, and the computer software products are stored in a storage medium Among them, several instructions are included to make a computer device (which may be a personal computer, server, or network device, etc.) execute all or part of the steps of the above-mentioned methods in various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other various media that can store program codes. .

以上上述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only the specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of various equivalent modifications within the technical scope disclosed in the present application. Or replacement, these modifications or replacements should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (10)

1.一种监控区域权限管理方法,其特征在于,包括:1. A monitoring area authority management method is characterized in that, comprising: 接收监控区域权限分配指令,所述监控区域权限分配指令包括用户标识、预分配监控区域和所述预分配监控区域对应的权限属性;receiving a monitoring area authority allocation instruction, the monitoring area authority allocation instruction including a user ID, a pre-allocated monitoring area, and an authority attribute corresponding to the pre-allocated monitoring area; 获取所述用户标识对应的权限节点,得到N个最底层节点,所述N为正整数;Obtain the permission node corresponding to the user identifier, and obtain N bottom-level nodes, where N is a positive integer; 获取所述预分配监控区域对应的预分配节点中包含的最底层的子节点,得到Q个最底层节点,所述Q为正整数;Obtaining the lowest-level sub-nodes included in the pre-allocation node corresponding to the pre-allocation monitoring area, obtaining Q lowest-level nodes, and the Q is a positive integer; 根据所述权限属性、预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系生成所述用户标识对应的节点树。A node tree corresponding to the user identifier is generated according to the permission attribute, the pre-stored association relationship between the Q lowest-level nodes and the N lowest-level nodes. 2.根据权利要求1所述的方法,其特征在于,所述获取所述用户标识对应的权限节点,得到N个最底层节点,包括:2. The method according to claim 1, wherein said acquiring the authority node corresponding to the user ID obtains N lowest-level nodes, comprising: 获取所述用户标识对应的权限区域节点,得到多个权限区域节点,所述权限区域节点为最高层级的权限节点;Obtain the authority area node corresponding to the user identifier, and obtain a plurality of authority area nodes, and the authority area node is the highest-level authority node; 获取所述多个权限区域节点中包含的最底层的子节点,得到所述N个最底层节点。Acquiring the lowest-level child nodes included in the plurality of authority area nodes, to obtain the N lowest-level nodes. 3.根据权利要求1或2所述的方法,其特征在于,所述根据所述权限属性、预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系生成所述用户标识对应的节点树,包括:3. The method according to claim 1 or 2, characterized in that , the association relationship between the Q lowest-level nodes stored in advance and the N lowest-level nodes is generated according to the authority attribute, The node tree corresponding to the above user ID, including: 根据所述权限属性、所述预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系确定所述Q个最底层节点和所述N个最底层节点中的权限节点,得到多个权限节点;Determine the authority among the Q lowest-level nodes and the N lowest-level nodes according to the authority attribute and the pre-stored association relationship between the Q lowest-level nodes and the N lowest-level nodes Node, get multiple permission nodes; 将所述多个权限节点作为目标节点集,迭代执行:Using the plurality of authority nodes as the target node set, execute iteratively: 获取所述目标节点集中每一节点对应的父节点,得到多个父节点;Obtain the parent node corresponding to each node in the target node set to obtain multiple parent nodes; 根据所述多个父节点中每一父节点包含的权限节点中是否包含该父节点的子节点列表中的所有节点确定所述多个父节点中的权限节点和非权限节点;Determine the authority nodes and non-authority nodes in the plurality of parent nodes according to whether the authority nodes contained in each parent node in the plurality of parent nodes include all nodes in the child node list of the parent node; 将所述多个父节点作为所述目标节点集,在所述多个父节点中包含根节点时,结束迭代;Using the multiple parent nodes as the target node set, when the multiple parent nodes contain a root node, end the iteration; 根据所述确定的权限节点和非权限节点之间的关联关系生成所述节点树。The node tree is generated according to the determined association relationship between the authority node and the non-authority node. 4.根据权利要求3所述的方法,其特征在于,在所述根据所述权限属性、预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系生成所述用户标识对应的节点树之后,所述方法还包括:4. The method according to claim 3, characterized in that, generating the said permission attribute according to the association relationship between the Q lowest-level nodes and the N lowest-level nodes stored in advance. After the user identifies the corresponding node tree, the method also includes: 合并所述节点树中的权限节点包含的子节点的区域数据;Merge the area data of the sub-nodes contained in the authority node in the node tree; 以最高层级对应的权限节点为存储单元进行存储。The authority node corresponding to the highest level is used as the storage unit for storage. 5.根据权利要求1或2所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1 or 2, characterized in that the method further comprises: 根据所述N个最底层节点和所述Q个最底层节点中每一节点的权限属性判断所述Q个最底层节点是否包含未修改权限的节点,若是,发送提示消息。According to the permission attribute of each node in the N bottom nodes and the Q bottom nodes, it is judged whether the Q bottom nodes include nodes with unmodified permissions, and if so, a prompt message is sent. 6.一种监控区域权限管理装置,其特征在于,包括:6. A monitoring area rights management device, characterized in that it comprises: 接收单元,用于接收监控区域权限分配指令,所述监控区域权限分配指令包括用户标识、预分配监控区域和所述预分配监控区域对应的权限属性;A receiving unit, configured to receive a monitoring area authority allocation instruction, where the monitoring area authority allocation instruction includes a user ID, a pre-allocated monitoring area, and an authority attribute corresponding to the pre-allocated monitoring area; 获取单元,用于获取所述用户标识对应的权限节点,得到N个最底层节点,所述N为正整数;获取所述预分配监控区域对应的预分配节点中包含的最底层的子节点,得到Q个最底层节点,所述Q为正整数;An acquisition unit, configured to acquire the authority node corresponding to the user identifier, to obtain N bottom-level nodes, where N is a positive integer; to obtain the bottom-level child nodes contained in the pre-allocated nodes corresponding to the pre-allocated monitoring area, Obtain Q lowest-level nodes, where Q is a positive integer; 生成单元,用于根据所述权限属性、预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系生成所述用户标识对应的节点树。A generating unit, configured to generate a node tree corresponding to the user identifier according to the authority attribute, the pre-stored association relationship between the Q lowest-level nodes and the N lowest-level nodes. 7.根据权利要求6所述的装置,其特征在于,所述获取单元具体用于获取所述用户标识对应的权限区域节点,得到多个权限区域节点,所述权限区域节点为最高层级的权限节点;获取所述多个权限区域节点中包含的最底层的子节点,得到所述N个最底层节点。7. The device according to claim 6, wherein the acquiring unit is specifically configured to acquire the authority area node corresponding to the user identifier, and obtain a plurality of authority area nodes, the authority area node being the highest level authority A node: obtaining the bottom-level sub-nodes included in the plurality of authority area nodes, and obtaining the N bottom-level nodes. 8.根据权利要求6或7所述的装置,其特征在于,所述生成单元包括:8. The device according to claim 6 or 7, wherein the generating unit comprises: 确定模块,用于根据所述权限属性、所述预先存储的所述Q个最底层节点和所述N个最底层节点之间的关联关系确定所述Q个最底层节点和所述N个最底层节点中的权限节点,得到多个权限节点;A determining module, configured to determine the Q lowest-level nodes and the N lowest-level nodes according to the authority attribute and the pre-stored association relationship between the Q lowest-level nodes and the N lowest-level nodes. The authority node in the underlying node gets multiple authority nodes; 迭代模块,用于将所述多个权限节点作为目标节点集,迭代执行:获取所述目标节点集中每一节点对应的父节点,得到多个父节点;根据所述多个父节点中每一父节点包含的权限节点中是否包含该父节点的子节点列表中的所有节点确定所述多个父节点中的权限节点和非权限节点;将所述多个父节点作为所述目标节点集,在所述多个父节点中包含根节点时,结束迭代;An iterative module, configured to use the plurality of authority nodes as a target node set, iteratively execute: obtain the parent node corresponding to each node in the target node set, and obtain multiple parent nodes; according to each of the multiple parent nodes Whether the authority node contained in the parent node includes all nodes in the child node list of the parent node determines authority nodes and non-authority nodes in the plurality of parent nodes; using the plurality of parent nodes as the target node set, When the root node is included in the plurality of parent nodes, the iteration ends; 生成模块,用于根据所述确定的权限节点和非权限节点之间的关联关系生成所述节点树。A generating module, configured to generate the node tree according to the determined association relationship between the authorized node and the non-authorized node. 9.根据权利要求8所述的装置,其特征在于,所述装置还包括:9. The device according to claim 8, further comprising: 合并单元,用于合并所述节点树中的权限节点包含的子节点的区域数据;a merging unit, configured to merge the area data of the sub-nodes contained in the authority node in the node tree; 存储单元,用于以最高层级对应的权限节点为存储单元进行存储。The storage unit is used for storing with the authority node corresponding to the highest level as the storage unit. 10.一种计算机可读存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1-5任一项所述的方法。10. A computer-readable storage medium, wherein the computer storage medium stores a computer program, the computer program includes program instructions, and when executed by a processor, the program instructions cause the processor to execute The method described in any one of claims 1-5.
CN201711087500.3A 2017-11-07 2017-11-07 Monitoring area authority management method and device and storage medium Active CN108052526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711087500.3A CN108052526B (en) 2017-11-07 2017-11-07 Monitoring area authority management method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711087500.3A CN108052526B (en) 2017-11-07 2017-11-07 Monitoring area authority management method and device and storage medium

Publications (2)

Publication Number Publication Date
CN108052526A true CN108052526A (en) 2018-05-18
CN108052526B CN108052526B (en) 2020-06-16

Family

ID=62118972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711087500.3A Active CN108052526B (en) 2017-11-07 2017-11-07 Monitoring area authority management method and device and storage medium

Country Status (1)

Country Link
CN (1) CN108052526B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110035256A (en) * 2019-02-27 2019-07-19 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus monitoring access authorization for resource
CN110324678A (en) * 2019-05-29 2019-10-11 视联动力信息技术股份有限公司 Method, apparatus, electronic equipment and the readable storage medium storing program for executing of transmitting, monitoring resource
CN110474910A (en) * 2019-08-19 2019-11-19 甘肃万华金慧科技股份有限公司 A kind of right management method
CN110505096A (en) * 2019-08-27 2019-11-26 西安闻泰电子科技有限公司 Internet of things equipment management method, device, equipment and medium
CN110839140A (en) * 2018-08-17 2020-02-25 视联动力信息技术股份有限公司 Method and device for generating monitoring directory
CN111079121A (en) * 2018-10-19 2020-04-28 杭州海康威视系统技术有限公司 Equipment resource management method and device
CN112685606A (en) * 2020-12-31 2021-04-20 上海氪邦智能技术有限公司 Authority rule configuration/management method, system, computer medium and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060190588A1 (en) * 2003-07-11 2006-08-24 Nippon Telegraph And Telephone Corp. System management method, system management device, system management program, and storage medium containing system management program
CN101996218A (en) * 2009-08-21 2011-03-30 上海博科资讯股份有限公司 Method for realizing data access authority control
CN102402652A (en) * 2010-09-16 2012-04-04 金蝶软件(中国)有限公司 Authority control method, system and terminal
CN102457521A (en) * 2010-11-02 2012-05-16 株式会社日立制作所 Access right management device, access right management system, access right management method and access right management program
CN106789984A (en) * 2016-12-08 2017-05-31 浙江齐治科技股份有限公司 A kind of access rights specification and visualization method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060190588A1 (en) * 2003-07-11 2006-08-24 Nippon Telegraph And Telephone Corp. System management method, system management device, system management program, and storage medium containing system management program
CN101996218A (en) * 2009-08-21 2011-03-30 上海博科资讯股份有限公司 Method for realizing data access authority control
CN102402652A (en) * 2010-09-16 2012-04-04 金蝶软件(中国)有限公司 Authority control method, system and terminal
CN102457521A (en) * 2010-11-02 2012-05-16 株式会社日立制作所 Access right management device, access right management system, access right management method and access right management program
CN106789984A (en) * 2016-12-08 2017-05-31 浙江齐治科技股份有限公司 A kind of access rights specification and visualization method and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110839140A (en) * 2018-08-17 2020-02-25 视联动力信息技术股份有限公司 Method and device for generating monitoring directory
CN110839140B (en) * 2018-08-17 2021-09-10 视联动力信息技术股份有限公司 Method and device for generating monitoring directory
CN111079121A (en) * 2018-10-19 2020-04-28 杭州海康威视系统技术有限公司 Equipment resource management method and device
CN111079121B (en) * 2018-10-19 2022-08-05 杭州海康威视系统技术有限公司 Equipment resource management method and device
CN110035256A (en) * 2019-02-27 2019-07-19 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus monitoring access authorization for resource
CN110035256B (en) * 2019-02-27 2020-11-20 视联动力信息技术股份有限公司 Processing method and device for monitoring resource permission
CN110324678A (en) * 2019-05-29 2019-10-11 视联动力信息技术股份有限公司 Method, apparatus, electronic equipment and the readable storage medium storing program for executing of transmitting, monitoring resource
CN110474910A (en) * 2019-08-19 2019-11-19 甘肃万华金慧科技股份有限公司 A kind of right management method
CN110505096A (en) * 2019-08-27 2019-11-26 西安闻泰电子科技有限公司 Internet of things equipment management method, device, equipment and medium
CN112685606A (en) * 2020-12-31 2021-04-20 上海氪邦智能技术有限公司 Authority rule configuration/management method, system, computer medium and terminal
CN112685606B (en) * 2020-12-31 2024-11-22 上海云思智慧信息技术有限公司 Configuration and management method, system, computer medium and terminal for authority rules

Also Published As

Publication number Publication date
CN108052526B (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN108052526A (en) Monitoring area right management method, device and storage medium
CN109936571B (en) Mass data sharing method, open sharing platform and electronic device
EP3637280B1 (en) Data storage method and device, and storage medium
EP2696555B1 (en) Method and system for identifying storage device
US20230362251A1 (en) Method and apparatus for managing iot device, and server and storage medium thereof
CN101727465A (en) Methods for establishing and inquiring index of distributed column storage database, device and system thereof
CN108040136A (en) A kind of IP method for managing resource and system
CN106845175B (en) Method and device for setting data authority
CN101453472B (en) Method and system for disclosing and acquiring relationship information
CN106897442A (en) A kind of distributed file system user quota method for pre-distributing and distribution system
CN108154024B (en) Data retrieval method and device and electronic equipment
CN105100220A (en) Drug information sharing method, client and server
CN103207813A (en) Method and device for managing resources
CN101557421B (en) A network file distribution method and system thereof
CN114064662B (en) Method, device, electronic device and medium for querying data
US10749902B2 (en) Method and apparatus for organizing elements of a server application in a client-server system
CN104469028B (en) A kind of service providing method, conversation server and customer service system
CN117592097A (en) Data processing method and device, electronic equipment and storage medium
CN108268509B (en) Configuration data management method and device
CN112136121A (en) Recommended safe content
CN108228694A (en) Catalog Generation Method Based on Refined Data Items
CN114564459A (en) Log file storage method, apparatus, device, and computer-readable storage medium
CN114493642A (en) User portrait label generation method and device, computing device and storage medium
CN106909661A (en) A kind of topological drawing generating method and device
CN114691700A (en) Kafaka cluster-based intelligent park retrieval method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant