Monitoring resource recursion sharing and coding management system and method based on Web application

By introducing recursive sharing, batch operation, flexible coding, global search and real-time statistical visualization functions into the monitoring resource management system, the problems of insufficient flexibility in resource sharing, lack of batch operation functions, rigid coding system, limitations in search functions and insufficient statistical visualization in the existing technology are solved, and efficient and flexible monitoring resource management is achieved.

CN119892815AActive Publication Date: 2025-04-25HANGZHOU ARTECH

Patent Information

Application Number
CN202510376860.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-04-25
Estimated Expiration
2045-03-28

AI Technical Summary

Technical Problem

In the monitoring resource management, the existing technology has problems such as insufficient resource sharing flexibility, lack of batch operation functions, rigid coding system, limitations in search function, and insufficient statistical visualization.

Method used

It provides a recursive sharing and coding management system for monitoring resources based on web applications. Through the recursive sharing function, it realizes the sharing of parent nodes or cancels sharing of all its child nodes, supports multi-node batch operations, builds a flexible coding system, develops global search functions, and improves statistical visualization functions.

Benefits of technology

It improves the efficiency and flexibility of monitoring resource sharing, meets the personalized coding needs of different organizations, realizes the rapid positioning and management of monitoring resources, provides real-time statistical and visual feedback, and improves the overall efficiency of monitoring resource management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892815A_ABST
    Figure CN119892815A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of monitoring resource management of Web application, and particularly relates to a monitoring resource recursion sharing and coding management system and method based on Web application. The system comprises a front end and a rear end, the front end is provided with a user interface module, a sharing management module, a coding management module and the like, and the rear end comprises a data management module and an API interface module. The method comprises the steps of data loading display, sharing, coding, searching, statistics, data storage synchronization, domain resource management and the like. According to the method, efficient and flexible resource sharing management, personalized coding management, real-time and accurate search statistics, reliable data synchronous storage and convenient domain resource management are realized, and the expansibility and maintainability of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of monitoring resource management of Web applications, and in particular relates to a monitoring resource recursive sharing and coding management system and method based on Web applications. Background Art

[0002] With the rapid development of the Internet of Things and video surveillance technology, various organizations have deployed a large number of surveillance devices. The data and resources generated by these devices urgently need efficient management and sharing mechanisms. Web-based applications, with their cross-platform and easy-to-access features, have gradually become the mainstream technology carrier for realizing the integration of surveillance resources. However, existing technologies still have significant deficiencies in resource management flexibility, operational efficiency, and functional scalability.

[0003] At present, typical solutions in the industry, such as a company's "Smart City Monitoring Management Platform", mainly provide the following functions: Organizational structure management: supports users to create a tree-like hierarchical structure to divide monitoring resources into different departments or regions; Device management: allows adding, deleting and editing basic information of monitoring devices; Permission control: Differentiate access rights to resources for different users through role assignment; Resource sharing: Supports cross-organizational sharing of monitoring resources, but the sharing granularity is limited to a single device or fixed-level node; Search function: It provides local search based on device name or ID, but cannot realize global search across levels.

[0004] Although the above solutions have partially met the basic requirements, there are still the following key issues in practical applications: Insufficient flexibility in resource sharing: Existing technologies only support sharing operations of a single node or a fixed level. For example, if a user needs to share a parent node and all its child nodes, they need to manually select them level by level, which is cumbersome and time-consuming. For complex hierarchical structures containing hundreds of nodes, sharing efficiency is extremely low.

[0005] Lack of batch operation function: Lack of support for multi-node parallel processing. When users need to perform sharing or unsharing operations on multiple distributed nodes, they need to click repeatedly, resulting in a waste of human resources and data inconsistency problems caused by missed operations.

[0006] Rigid coding system: Existing coding rules usually adopt a fixed format (such as a pure digital sequence) and cannot adapt to the personalized needs of different organizations. For example, a security company needs to embed a regional identifier (such as "HZ-A Zone") in the code, but the existing system only supports the serial number automatically generated by the system, resulting in low code readability and management efficiency.

[0007] Search function limitations: The existing search function only supports a single level or simple keyword matching. For example, users cannot locate "entrance and exit monitoring" devices distributed in multiple sub-levels at the same time through a single search. They need to expand the directory layer by layer to search, which seriously affects the efficiency of use.

[0008] Lack of statistical visualization: There is a lack of real-time statistical and visual feedback mechanisms. Managers cannot quickly obtain the global sharing status (such as the total number of shared devices, distribution ratio, etc.), and decision-making relies on manual data aggregation, which has the risk of lag and error.

[0009] The above defects seriously restrict the efficient use of large-scale monitoring resources. For example, in a smart park case, when sharing the "Park A" hierarchical structure containing 200 monitoring nodes, the traditional solution requires about 15 minutes of manual operation and cannot guarantee full coverage of sub-nodes; and the rigid coding rules lead to frequent identification conflicts when cross-system data docking. Therefore, there is an urgent need for a monitoring resource sharing system that supports recursive batch operations, flexible coding management, and real-time statistical feedback to meet increasingly complex business needs. Summary of the invention

[0010] In view of the problems of poor resource sharing flexibility, lack of batch operation function, rigid coding system, limited search function and insufficient statistical visualization in the current related existing technologies in monitoring resource management, the present invention provides a monitoring resource recursive sharing coding management realization system and method based on Web application. The method and system realize recursive sharing of resources through innovative design, and users can share or cancel sharing of all its child nodes by operating the parent node, thereby improving sharing efficiency; supporting multi-node batch operation to avoid repeated clicks and operation omissions; building a flexible coding system to meet the personalized coding needs of different organizations; developing a global search function to quickly locate resources without hierarchical restrictions; improving the statistical visualization function, displaying the sharing status in real time, providing strong support for management decisions, effectively solving the defects of the existing technology, and improving the overall efficiency of monitoring resource management.

[0011] To achieve the above object, the first aspect of the present invention provides a monitoring resource recursive sharing and coding management system based on Web application, including a front-end system and a back-end system, which are connected via network communication: Front-end system: User interface module: displays the organization tree, channel list and search box in the Web application, receives operation instructions input by the user, including organization level configuration instructions, recursive sharing operation instructions, code editing instructions, etc.; can also display the generated global visualization statistics view and receive and display the sharing status change information pushed from the backend; Sharing management module: according to the recursive sharing operation instructions input by the user, recursively share or cancel the sharing operation for the corresponding organization or channel, and manage the sharing list; according to the batch operation mode selected by the user, recursive traversal can be started for multiple non-continuously distributed parent nodes at the same time to generate multiple sets of target node sets; Coding management module: according to the coding editing instructions, it performs custom coding operations for organizations or channels and generates random codes; according to the preset hierarchical coding rules, it generates composite codes containing fixed prefixes and variable parts, and performs conflict detection on composite codes generated at the same level. When duplicate codes are detected, it automatically rewrites the random character string of the variable part, or prompts the user to modify the custom naming identifier; Statistics module: counts the shared channels and organizations; generates a global visualization statistical view of all shared monitoring resources based on the topological relationship of the tree-like hierarchical structure, and the view dynamically displays at least two of the following statistical dimensions: the proportion of shared nodes at each level, the distribution ratio of custom codes to random codes, and the reference path topology of cross-organizational shared resources; Backend system: Data management module: stores organization data, channel data, domain resource data, node composite coding and shared status information; API interface module: provides data echo interface and data storage interface for data interaction with the front-end system, receives shared data, encoded data and shared status change information sent by the front-end and saves them to the data management module, and can return corresponding data according to the front-end request.

[0012] Furthermore, the sharing management module has the functions of recursive sharing and canceling sharing, which can be implemented through a variety of operation modes, including sharing and canceling sharing operations for a single or multiple nodes; the composite code generated by the encoding management module consists of a fixed prefix and a variable part, the variable part includes user-defined content and randomly generated content, the randomly generated content accounts for a certain proportion of the variable part of the code, and the fixed prefix is ​​determined by the hierarchical position of the node; the statistics module counts the number of shared channels and organizations in real time, and dynamically updates the global visual statistics view; the API interface module includes a data echo and save interface, which is used for front-end and back-end data interaction, echoes organization data, channel data, and saves sharing, encoding and sharing status change data sent by the front end.

[0013] A second aspect of the present invention provides a method for recursive sharing and encoding management of monitoring resources based on a Web application. The method implemented based on the above system comprises the following steps: Front-end instruction receiving and hierarchy building steps: The user interface module of the front-end system receives the organization hierarchy configuration parameters input by the user, and builds a tree-like hierarchy structure in the Web platform, wherein the hierarchy structure includes parent and child nodes, and each node is bound to at least one monitoring resource; Data loading and display steps: The front-end system loads the organization and channel data and displays the organization tree and channel list in the user interface module; Sharing operation steps: the sharing management module of the front-end system responds to the recursive sharing operation instruction, automatically traverses the selected parent node and all its subordinate child nodes to form a target node set; according to the batch operation mode selected by the user, recursive traversal is simultaneously started for multiple non-continuously distributed parent nodes to generate multiple sets of target node sets; Coding operation steps: The coding management module of the front-end system performs the following operations on each node in the target node set: according to the preset hierarchical coding rules, a composite code including a fixed prefix and a variable part is generated, wherein the fixed prefix is ​​determined by the hierarchical position of the node, and the variable part supports the user to select a randomly generated string or a custom input naming identifier; conflict detection is performed on the composite codes generated at the same level, and when duplicate codes are detected, the random string of the variable part is automatically rewritten, or the user is prompted to modify the custom naming identifier; the generated composite code is bound to the corresponding monitoring resource for storage; Statistical step: The statistical module of the front-end system generates a global visual statistical view of all shared monitoring resources based on the topological relationship of the tree-like hierarchical structure. The view dynamically displays at least two of the following statistical dimensions: the proportion of shared nodes at each level, the distribution ratio of custom codes and random codes, and the reference path topology of cross-organizational shared resources; at the same time, the shared channels and organizations are counted and counted; Push step: When the sharing status of any child node changes, the push module of the front-end system sends a short message to all clients that have permission association with the child node, triggering a partial refresh of the front-end interface; Data interaction steps: The front-end system interacts with the back-end system through the API interface module, including obtaining organizational data, channel data, domain resource data, node coding, and shared status information from the back-end system for display, and sending shared data, coding data, and shared status change information to the back-end system for storage.

[0014] Furthermore, the sharing operation steps include: the front end maintains a shared list sharedList, which includes a shared organization list and a shared channel list; One-click sharing: The user selects a node and clicks the one-click sharing button. The sharing management module of the front-end system recursively traverses the selected node and all its child nodes. For each traversed node that is not in the shared list, it adds it to the shared list, updates the interface display, and marks the shared node as shared. One-click unsharing: Use the shared list sharedList for management; the user selects a node and clicks the one-click unsharing button. The sharing management module of the front-end system recursively traverses the selected node and all its child nodes, removes each traversed node in the shared list from the shared list, updates the interface display, and marks the unsharing node as unshared; Multi-select sharing / cancelling sharing: The user selects multiple nodes through the multi-select operation and clicks the multi-select sharing or multi-select cancel sharing button. The sharing management module of the front-end system traverses all selected nodes and executes the same logic as one-click sharing / cancelling sharing for each node, that is, checking whether the node is in the shared list, adding or removing the node accordingly, and updating the shared list and interface display; Individual push / cancel push: The user selects a single organization or channel and clicks the Push or Cancel push button. The sharing management module of the front-end system checks whether the item is in the shared list, adds or removes it based on the operation type, and updates the interface display to reflect the change in the sharing status of the item.

[0015] Furthermore, the coding operation steps include: in the coding operation steps, the coding management module generates a code for the organization or channel, and the code consists of a fixed prefix and a variable part; for custom codes, users can set custom content of the variable part in the coding input interface according to needs, and the system generates random content of the variable part based on the character set and random number seed. The user can modify the entire code, and the system saves the modified code and associates it with the corresponding organization or channel; in the process of generating codes, conflict detection is performed on the codes at the same level. If a conflict is detected, the random content is automatically adjusted or the user is prompted to modify the custom content.

[0016] Furthermore, the search step is also included: Organization tree search: The user enters a keyword in the search box. The search module of the front-end system uses a depth-first search algorithm based on a tree structure to recursively traverse the organization tree from the root node. For each node, it checks whether its name or code contains the search keyword. If it matches, the node is added to the search result list and the child nodes of the node are traversed. After the traversal is completed, the search result list is displayed. Channel search: The user enters keywords in the search box, and the search module of the front-end system traverses all channel data. For each channel, it checks whether its name, code or related attributes contain the search keyword. If there is a match, the channel is added to the search result list. After the traversal is completed, the search result list is displayed.

[0017] Furthermore, in the statistical step: the statistical module of the front-end system maintains the shared organization counter and the shared channel counter. Each time a sharing or canceling sharing operation is performed, for one-click sharing / cancelling sharing, the counter is updated when recursively traversing the nodes; for multiple-selection sharing / cancelling sharing, the counter is updated when traversing the selected items; for individual push / cancellation of push, the corresponding counter is directly increased or decreased, and the value of the counter is displayed in real time on the interface.

[0018] Furthermore, data preservation and synchronization steps are also included: When the user clicks the Save button, the data transmission module of the front-end system collects all shared organization and channel information, including their custom encodings, organizes these data into a JSON object, and sends the JSON data to the API interface module of the back-end system through an AJAX request. The API interface module of the back-end system receives the data and updates the corresponding records in the data management module. The back-end returns a confirmation message of successful saving. After the data transmission module of the front-end system receives the information, a prompt of successful saving is displayed in the user interface module.

[0019] Furthermore, it also includes a domain resource management step: the domain resource management module of the front-end system maintains a domain resource object, which includes a list of shared organizations and channels. Each time a sharing or canceling sharing operation is performed, the domain resource object is updated. When a user requests to view domain resources, the system generates a hierarchical view to display all shared organizations and channels, provides an export function for domain resources, and converts the entire domain resource data into a specific format to facilitate integration with other systems or data exchange.

[0020] The present invention adopts the above technical solution, which has at least the following beneficial effects: Resource sharing is efficient and flexible: Through multiple operation modes such as one-click sharing, one-click unsharing, multi-select sharing / unsharing, and individual push / unpush, users can conveniently share and manage monitoring resources according to actual needs. Whether it is for a single node, multiple nodes, or a specific organization or channel, precise operation can be achieved, greatly improving the efficiency and flexibility of resource sharing. For example, in a large-scale monitoring system, administrators can quickly share a group of related monitoring channels to a specific department without having to set them up one by one.

[0021] Strong personalization of coding management: It provides the functions of custom organization coding and custom channel coding. The coding consists of a user-defined part and a system-randomly generated part, which not only meets the user's personalized needs for coding, but also ensures a certain degree of randomness and uniqueness of the coding. At the same time, the system performs conflict detection on composite coding at the same level and automatically handles duplicate coding problems, further ensuring the accuracy and effectiveness of the coding and facilitating the classification and identification of monitoring resources.

[0022] The search function is powerful and accurate: the organization tree search is based on the depth-first search algorithm, which can quickly traverse the organization tree and accurately find nodes that match the keywords; the channel search traverses all channel data for keyword matching. Whether it is looking for monitoring resources under a specific organization or specific channel information, it can quickly and accurately provide search results, improving the efficiency of users in finding monitoring resources.

[0023] The statistical function is real-time and intuitive: real-time statistics are performed using the shared list. By maintaining the shared organization counter and the shared channel counter, the count is updated in real time each time a sharing or canceling operation is performed, and displayed in real time on the interface, allowing users to intuitively understand the status and quantity changes of resource sharing, providing strong data support for management decisions.

[0024] Reliable data synchronization and storage: By sending the shared status and custom encoding of the front-end to the back-end in the form of JSON objects for storage and synchronization, the consistency and security of the data are guaranteed. At the same time, the back-end returns a confirmation message of successful storage, and the front-end displays a prompt to let the user know the operation results, ensuring the reliability of the data storage process.

[0025] Convenient integration of domain resource management: Shared organizations and channels are integrated into domain resources for easy unified management. When users request to view domain resources, a hierarchical structure view can be generated to display the resource status, and an export function is provided to convert domain resource data into a specific format, which is convenient for integration with other systems or data exchange, improving the scalability and compatibility of the system.

[0026] The system architecture is well designed: the front end is responsible for most of the business logic processing, ensuring the real-time and smooth operation, and being able to respond to user operations in a timely manner; the back end focuses on the persistent storage and management of data to ensure data consistency and security. This modular design allows each functional module of the system to evolve and optimize independently, enhancing the scalability and maintainability of the system, and being able to better adapt to changes in future business needs. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0028] Figure 1 It is a system architecture diagram of the present invention.

[0029] Figure 2 It is an operation flow chart of the method of the present invention. DETAILED DESCRIPTION

[0030] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0031] Embodiment 1

[0032] like Figure 1 As shown, this embodiment provides a monitoring resource recursive sharing and coding management system based on Web application, including a front-end system and a back-end system, which are connected through network communication: the system is mainly used to share multiple organizational resources and channel resources into one domain resource. The core functions of the system include resource sharing, unsharing, custom coding, search and statistics, etc.

[0033] Front-end system: User interface module: displays the organization tree, channel list and search box in the Web application, receives operation instructions input by the user, including organization level configuration instructions, recursive sharing operation instructions, code editing instructions, etc.; can also display the generated global visualization statistics view and receive and display the sharing status change information pushed from the backend; Sharing management module: according to the recursive sharing operation instructions input by the user, recursively share or cancel the sharing operation for the corresponding organization or channel, and manage the sharing list; according to the batch operation mode selected by the user, recursive traversal can be started for multiple non-continuously distributed parent nodes at the same time to generate multiple sets of target node sets; Coding management module: according to the coding editing instructions, it performs custom coding operations for organizations or channels and generates random codes; according to the preset hierarchical coding rules, it generates composite codes containing fixed prefixes and variable parts, and performs conflict detection on composite codes generated at the same level. When duplicate codes are detected, it automatically rewrites the random character string of the variable part, or prompts the user to modify the custom naming identifier; Statistics module: counts the shared channels and organizations; generates a global visualization statistical view of all shared monitoring resources based on the topological relationship of the tree-like hierarchical structure, and the view dynamically displays at least two of the following statistical dimensions: the proportion of shared nodes at each level, the distribution ratio of custom codes to random codes, and the reference path topology of cross-organizational shared resources; Backend system: Data management module: stores organization data, channel data, domain resource data, node composite coding and shared status information; API interface module: provides data echo interface and data storage interface for data interaction with the front-end system, receives shared data, encoded data and shared status change information sent by the front-end and saves them to the data management module, and can return corresponding data according to the front-end request.

[0034] As an implementation method, the sharing management module described in this embodiment has the functions of recursive sharing and canceling sharing, which can be implemented through a variety of operation methods, including sharing and canceling sharing operations for a single or multiple nodes; the composite code generated by the encoding management module consists of a fixed prefix and a variable part, the variable part includes user-defined content and randomly generated content, the randomly generated content accounts for a certain proportion of the variable part of the code, and the fixed prefix is ​​determined by the hierarchical position of the node; the statistics module counts the number of shared channels and organizations in real time, and dynamically updates the global visualization statistics view; the API interface module includes a data echo and save interface, which is used for front-end and back-end data interaction, echoes organization data, channel data, and saves sharing, encoding and sharing status change data sent by the front end.

[0035] As an implementation mode, the recursive sharing operation of the sharing management module in this embodiment includes one-click sharing, multi-select sharing and individual push, and the recursive cancel sharing operation includes one-click cancel sharing, multi-select cancel sharing and individual cancel push; The random code generated by the code management module is the last 6 bits of the 20-bit code and is part of the variable part of the composite code. The first 14 bits are the user-defined code as another part of the variable part. The fixed prefix is ​​determined by the hierarchical position of the node. The statistical module updates the shared channel count and the shared organization count in real time, and dynamically updates the global visual statistical view; The data echo interface of the API interface module is used to return organizational data, channel data, domain resource data, node coding and sharing status information to the front-end system, and the data storage interface is used to receive shared data, coding data and sharing status change information sent by the front-end system and save it to the data management module.

[0036] Embodiment 2

[0037] This embodiment provides a monitoring resource recursive sharing and encoding management method based on a Web application. The method implemented based on the above system includes the following steps: Front-end instruction receiving and hierarchy building steps: The user interface module of the front-end system receives the organization hierarchy configuration parameters input by the user, and builds a tree-like hierarchy structure in the Web platform, wherein the hierarchy structure includes parent and child nodes, and each node is bound to at least one monitoring resource; Data loading and display steps: The front-end system loads the organization and channel data and displays the organization tree and channel list in the user interface module; Sharing operation steps: the sharing management module of the front-end system responds to the recursive sharing operation instruction, automatically traverses the selected parent node and all its subordinate child nodes to form a target node set; according to the batch operation mode selected by the user, recursive traversal is simultaneously started for multiple non-continuously distributed parent nodes to generate multiple sets of target node sets; Coding operation steps: The coding management module of the front-end system performs the following operations on each node in the target node set: according to the preset hierarchical coding rules, a composite code including a fixed prefix and a variable part is generated, wherein the fixed prefix is ​​determined by the hierarchical position of the node, and the variable part supports the user to select a randomly generated string or a custom input naming identifier; conflict detection is performed on the composite codes generated at the same level, and when duplicate codes are detected, the random string of the variable part is automatically rewritten, or the user is prompted to modify the custom naming identifier; the generated composite code is bound to the corresponding monitoring resource for storage; Statistical step: The statistical module of the front-end system generates a global visual statistical view of all shared monitoring resources based on the topological relationship of the tree-like hierarchical structure. The view dynamically displays at least two of the following statistical dimensions: the proportion of shared nodes at each level, the distribution ratio of custom codes and random codes, and the reference path topology of cross-organizational shared resources; at the same time, the shared channels and organizations are counted and counted; Push step: When the sharing status of any child node changes, the push module of the front-end system sends a short message to all clients that have permission association with the child node, triggering a partial refresh of the front-end interface; Data interaction steps: The front-end system interacts with the back-end system through the API interface module, including obtaining organizational data, channel data, domain resource data, node coding, and shared status information from the back-end system for display, and sending shared data, coding data, and shared status change information to the back-end system for storage.

[0038] As an implementation mode, the sharing operation steps in this embodiment include: the front end maintains a shared list sharedList, which includes a shared organization list and a shared channel list; One-click sharing: The user selects a node and clicks the one-click sharing button. The sharing management module of the front-end system recursively traverses the selected node and all its child nodes. For each traversed node that is not in the shared list, it adds it to the shared list, updates the interface display, and marks the shared node as shared. One-click unsharing: Use the shared list sharedList for management; the user selects a node and clicks the one-click unsharing button. The sharing management module of the front-end system recursively traverses the selected node and all its child nodes, removes each traversed node in the shared list from the shared list, updates the interface display, and marks the unsharing node as unshared; Multi-select sharing / cancelling sharing: The user selects multiple nodes through the multi-select operation and clicks the multi-select sharing or multi-select cancel sharing button. The sharing management module of the front-end system traverses all selected nodes and executes the same logic as one-click sharing / cancelling sharing for each node, that is, checking whether the node is in the shared list, adding or removing the node accordingly, and updating the shared list and interface display; Individual push / cancel push: The user selects a single organization or channel and clicks the Push or Cancel push button. The sharing management module of the front-end system checks whether the item is in the shared list, adds or removes it based on the operation type, and updates the interface display to reflect the change in the sharing status of the item.

[0039] As an implementation method, in the coding operation step, the coding management module generates a code for an organization or channel, and the code consists of a fixed prefix and a variable part; for custom codes, users can set custom content of the variable part in the coding input interface according to needs, and the system generates random content of the variable part based on the character set and random number seed. Users can modify the entire code, and the system saves the modified code and associates it with the corresponding organization or channel; in the process of generating codes, conflict detection is performed on the codes at the same level. If a conflict is detected, the random content is automatically adjusted or the user is prompted to modify the custom content.

[0040] Customized organization code: The user selects an organization node, and the code management module of the front-end system provides a code input interface, which displays the current code by default. The user enters the first 14 digits of the code, and the code management module generates the last 6 digits of the code using a pseudo-random number generator based on a character set containing numbers and letters and using the system time as the random number seed. The user can modify all 20 digits of the code, and the system saves the modified code and associates it with the organization. Custom channel coding: When the user selects a channel, the coding management module of the front-end system provides a coding input interface, which displays the current coding by default. The user enters the first 14 digits of the coding, and the coding management module generates the last 6 digits of the coding using a pseudo-random number generator based on a character set containing numbers and letters and using the system time as the random number seed. The user can modify all 20 digits of the coding, and the system saves the modified coding and associates it with the channel. Random code generation: The code management module defines a character set containing numbers and letters, uses the system time as the random number seed, loops 6 times, randomly selects a character from the character set each time, and combines the 6 random characters into the last 6 random codes.

[0041] As an implementation mode, this embodiment further includes a search step: Organization tree search: The user enters a keyword in the search box. The search module of the front-end system uses a depth-first search algorithm based on a tree structure to recursively traverse the organization tree from the root node. For each node, it checks whether its name or code contains the search keyword. If it matches, the node is added to the search result list and the child nodes of the node are traversed. After the traversal is completed, the search result list is displayed. Channel search: The user enters keywords in the search box, and the search module of the front-end system traverses all channel data. For each channel, it checks whether its name, code or related attributes contain the search keyword. If there is a match, the channel is added to the search result list. After the traversal is completed, the search result list is displayed.

[0042] As an implementation method, in the statistical step of this embodiment: the statistical module of the front-end system maintains a shared organization counter and a shared channel counter, and each time a sharing or canceling sharing operation is performed, for one-click sharing / cancelling sharing, the counter is updated when recursively traversing the nodes; for multiple-selection sharing / cancelling sharing, the counter is updated when traversing the selected items; for individual push / cancellation of push, the corresponding counter is directly increased or decreased, and the value of the counter is displayed in real time on the interface.

[0043] As an implementation method, this embodiment also includes data storage and synchronization steps: When the user clicks the Save button, the data transmission module of the front-end system collects all shared organization and channel information, including their custom encodings, organizes these data into a JSON object, and sends the JSON data to the API interface module of the back-end system through an AJAX request. The API interface module of the back-end system receives the data and updates the corresponding records in the data management module. The back-end returns a confirmation message of successful saving. After the data transmission module of the front-end system receives the information, a prompt of successful saving is displayed in the user interface module.

[0044] As an implementation method, this embodiment also includes a domain resource management step: the domain resource management module of the front-end system maintains a domain resource object, which includes a list of shared organizations and channels. Each time a sharing or canceling sharing operation is performed, the domain resource object is updated. When a user requests to view domain resources, the system generates a hierarchical view to display all shared organizations and channels, provides an export function for domain resources, and converts the entire domain resource data into a specific format to facilitate integration with other systems or data exchange.

[0045] Embodiment 3

[0046] This embodiment provides an operation flow chart of the monitoring resource recursive sharing and encoding management method based on Web application of the present invention, as shown in FIG. Figure 2 As shown in the figure, the operation process revolves around the recursive sharing and coding management system of monitoring resources based on WEB applications, starting from the system startup to load data, to the user performing various operations (sharing, coding, etc.), to the system's response to the operation, data updating and saving, and finally completing the entire operation process.

[0047] The specific steps include: 1. Start and load data display: After the system is started, the "Load organization and channel data" operation is first executed to obtain relevant data from the backend.

[0048] After the data is loaded, the user interface module "Display Organization Tree and Channel List" of the WEB application displays the organizational structure and channel information of the current monitoring resources to the user, providing a basic interface for subsequent user operations.

[0049] 2. User operation judgment and execution: User operation is the key trigger point of the process. The system judges the user's different operation instructions and executes the corresponding processing logic.

[0050] One-click sharing: When the user selects a node and clicks the "One-click sharing" button, the system recursively traverses the selected node and all its child nodes, adds each traversed node that is not in the shared list to the shared list, updates the interface display, and marks the shared node as shared.

[0051] One-click unsharing: When the user selects a node and clicks the "One-click unsharing" button, the system recursively traverses the selected node and all its child nodes, removes each traversed node that is in the shared list from the shared list, updates the interface display, and marks the unshared node as unshared.

[0052] Multi-select sharing / unsharing: The user selects multiple nodes through the multi-select operation and clicks the "Multi-select Sharing" or "Multi-select Unsharing" button. The system traverses all selected nodes and executes the same logic as one-click sharing / unsharing for each node, that is, checking whether the node is in the shared list, adding or removing the node accordingly, and updating the shared list and interface display.

[0053] Edit code: The user selects an organization or channel to edit the code. For the organization code, the system provides a code input interface, which displays the current code (if it exists) by default. The user enters the first 14 digits of the code, and the system uses a pseudo-random number generator based on a character set containing numbers and letters and using the system time as the random number seed to generate the last 6 digits of the code. The user can modify all 20 digits of the code, and the system saves the modified code and associates it with the organization. The channel code operation is similar.

[0054] 3. System response and data processing: Regardless of which of the above operations the user performs, the system will respond in the following steps: Update sharing list: Update the shared list based on the user's sharing or canceling operations to record the latest shared resource status.

[0055] Update interface display: Provide real-time feedback of operation results to users, and update the shared status display of nodes on the interface so that users can intuitively see the operation effects.

[0056] Count the number of shared items: The system maintains a counter for shared organizations and a counter for shared channels. Based on the sharing or canceling of sharing operations, the corresponding counters are updated in real time to count the number of shared organizations and channels and display them in real time on the interface.

[0057] Save operation: After the user clicks the "Save" button, the system collects all shared organization and channel information and their custom encodings, and prepares to save the data to the backend.

[0058] Send data to the backend: Organize the collected data into JSON objects and send them to the API interface module of the backend system through AJAX requests. The backend receives the data and updates the corresponding records in the database to complete data storage and synchronization.

[0059] 4. End of process: After completing all the above operations, the entire operation process ends.

[0060] This operation process clearly demonstrates the specific steps for users to share and encode monitoring resources in the system, as well as the system's corresponding processing logic, ensuring the orderliness and efficiency of system operations.

[0061] Embodiment 4

[0062] This fourth embodiment is a further explanation of the core technology implementation of the present invention for the third embodiment above: Resource sharing management 1.1 One-click sharing Implementation method: The front end maintains a shared list (sharedList), which includes a shared organization list and a shared channel list.

[0063] Technical solution: a) The user selects a node and clicks the "One-click Share" button. b) The system recursively traverses the selected node and all its child nodes. c) For each traversed node, check whether it is in the sharedList. If not, add it to the sharedList. d) Update the interface display and mark the shared node as shared.

[0064] 1.2 Unshare with one click Implementation method: Use sharedList for management.

[0065] Technical solution: a) The user selects a node and clicks the "One-click Unshare" button. b) The system recursively traverses the selected node and all its child nodes. c) For each traversed node, check whether it is in the sharedList. If so, remove it from the sharedList. d) Update the interface display and mark the unshared node as unshared.

[0066] 1.3 Multiple selections to share / unshare Implementation method: Extend the logic of sharing / unsharing a single node and apply it to multiple selected nodes.

[0067] Technical solution: a) The user selects multiple nodes through the multi-select operation. b) Click the "Multi-select Share" or "Multi-select Unshare" button. c) The system traverses all selected nodes and executes the same logic as one-click sharing / unsharing for each node. d) Update sharedList and interface display.

[0068] 1.4 Push / Cancel push individually Implementation method: Perform sharing operations on a single organization or channel.

[0069] Technical solution: a) User selects a single organization or channel. b) Clicks the "Push" or "Cancel Push" button. c) The system checks whether the item is in the sharedList and adds or removes it based on the operation type. d) The interface display is updated to reflect the change in the sharing status of the item.

[0070] Custom encoding management 2.1 Custom organization code Implementation method: Provide each organization with a 20-digit code, of which the first 14 digits are user-defined and the last 6 digits are randomly generated by the system.

[0071] Technical solution: a) The user selects an organization node. b) The system provides a code input interface and displays the current code by default (if it exists). c) The user enters the first 14 digits of the code. d) The system uses a random number generator to generate the last 6 digits of the code. e) The user can modify the entire 20-digit code. f) The system saves the modified code and associates it with the organization.

[0072] 2.2 Custom channel encoding Implementation method: Similar to the organization encoding, provide 20-bit encoding for each channel.

[0073] Technical solution: a) The user selects a channel. b) The system provides a code input interface and displays the current code by default (if it exists). c) The user enters the first 14 digits of the code. d) The system uses a random number generator to generate the last 6 digits of the code. e) The user can modify the entire 20-digit code. f) The system saves the modified code and associates it with the channel.

[0074] 2.3 Random Code Generation Implementation: Use a pseudo-random number generator to create a 6-digit random code.

[0075] Technical solution: a) Define a character set containing numbers and letters. b) Use the system time as the random number seed. c) Loop 6 times, randomly selecting a character from the character set each time. d) Combine the 6 random characters into a random code.

[0076] Search Function 3.1 Organization Tree Search Implementation method: Depth-first search (DFS) algorithm based on tree structure.

[0077] Technical solution: a) The user enters a keyword in the search box. b) The system starts from the root node and recursively traverses the organization tree. c) For each node, check whether its name or code contains the search keyword. d) If it matches, add the node to the search result list. e) Continue to traverse the child nodes of the node. f) After the traversal is completed, display the search result list.

[0078] 3.2 Channel Search (Global Search) Implementation method: Traverse all channel data and perform keyword matching.

[0079] Technical solution: a) The user enters keywords in the search box. b) The system traverses all channel data. c) For each channel, check whether its name, code or related attributes contain the search keyword. d) If it matches, add the channel to the search result list. e) After the traversal is completed, display the search result list.

[0080] Statistics function Implementation method: Use sharedList for real-time statistics.

[0081] Technical solution: a) The system maintains two counters: sharedOrgCount and sharedChannelCount. b) Each time a sharing or unsharing operation is performed, the corresponding counter is updated. c) For one-click sharing / unsharing, the counter is updated when the nodes are recursively traversed. d) For multi-select sharing / unsharing, the counter is updated when the selected items are traversed. e) For individual push / unpush, the corresponding counter is directly increased or decreased. f) The values ​​of these two counters are displayed in real time on the interface.

[0082] Data storage and synchronization Implementation method: Synchronize the shared state and custom coding of the front end to the back end.

[0083] Technical solution: a) The user clicks the "Save" button. b) The system collects all shared organization and channel information, including their custom encoding. c) This data is organized into a JSON object. d) The JSON data is sent to the backend API via an AJAX request. e) The backend receives the data and updates the corresponding records in the database. f) The backend returns a confirmation message of successful saving. g) The frontend displays a prompt of successful saving.

[0084] Domain Resource Management Implementation method: Integrate shared organizations and channels into a domain resource.

[0085] Technical solution: a) The system maintains a domain resource object, which contains a list of shared organizations and channels. b) The domain resource object is updated each time a share or unshare operation is performed. c) When a user requests to view a domain resource, the system generates a hierarchical view showing all shared organizations and channels. d) Provides a domain resource export function to convert the entire domain resource data into a specific format (such as JSON or XML) to facilitate integration with other systems or data exchange.

[0086] Regarding the new operations in this embodiment, the processing flow when performing operations (such as one-click sharing, sharing / unsharing, etc.) on all data and tree structured data under different encoding settings (custom encoding turned on or not) in this embodiment will eventually send the shared list to the backend when saving.

[0087] Without custom encoding: All data - one-click sharing: After clicking one-click sharing, all organizations and channels of all sub-nodes under this domain will be shared; the search is a global search, filtering out data that meets the search criteria from all sharable channels and sub-organizations under this domain.

[0088] Tree structure - one-click sharing: The currently selected node and all organizations and channels in its child nodes will be shared and saved in the shared list (if the data exists in the shared list, the sharing attribute will be set to shared). After clicking to obtain channel and sub-organization data, the shared data will be stored in the shared list, the unshared data will be deleted from the shared list, and the unshared data will not be saved.

[0089] When custom encoding is enabled: All data - one-click sharing: All organizations and channels in all sub-nodes under this domain will be shared. Custom 14-digit codes are uniformly assigned according to user input and cannot be modified individually. Random codes are randomly generated and cannot be modified individually. They are saved in the shared list. The search is also a global search, filtering out data that meets the search criteria from all sharable channels and sub-organizations under this domain.

[0090] Tree structure - one-click sharing: The currently selected node and the organizations and channels in all its child nodes will be shared. The custom 14-digit code will be assigned uniformly according to the user input and cannot be modified individually. The random code will be randomly generated and cannot be modified individually. It will be saved in the shared list (if the data exists in the shared list, the sharing attribute will be set to shared). After clicking to obtain the data, each 14-digit custom code will be assigned according to the user input, and a 6-digit random code will be randomly generated using the random generation function. Both the 14-digit custom code and the random code can be modified individually. Modifying the shared data will modify the data in the shared list without re-sharing. After sharing, the user-modified code is saved, the shared data is stored in the shared list, and the unshared data is deleted from the shared list. The edits that are not shared will not be saved, and the data will be reset after switching the data source.

[0091] Save operation: When saving, all shared Lists are put into nodeList and sent to the backend.

[0092] The editing operation in this embodiment covers the different operation processing flows for all data and tree structure data in two modes, with and without custom encoding, as well as the final data saving logic. The following is a detailed analysis: 1. Data Acquisition and Storage When editing starts, get the data echo and save the echoed shared data into the shared List.

[0093] 2. Custom encoding is not enabled All data - one-click sharing: Click one-click sharing, and all organizations and channels of all sub-nodes under this domain will be shared; the search is a global search, filtering out data that meets the search criteria from all sharable channels and sub-organizations under this domain.

[0094] Tree structure - one-click sharing: The currently selected node and all organizations and channels in its child nodes will be shared and saved in the shared list (if the data exists in the shared list, the sharing attribute will be set to shared). After clicking to obtain channel and sub-organization data, the shared data will be stored in the shared list, the unshared data will be deleted from the shared list, and the unshared data will not be saved.

[0095] 3. Enable custom encoding All data - one-click sharing: All organizations and channels in all sub-nodes under this domain will be shared. The custom 14-digit code will be uniformly assigned according to the user input and cannot be modified individually. The random code will be randomly generated and cannot be modified individually. It will be saved in the shared list; the search is also a global search, filtering out data that meets the search criteria from all sharable channels and sub-organizations under this domain.

[0096] Tree structure - one-click sharing: The currently selected node and the organizations and channels in all its child nodes will be shared. The custom 14-digit code will be uniformly assigned according to the user input and cannot be modified individually. The random code will be randomly generated and cannot be modified individually. If the data exists in the shared list, the sharing attribute will be set to shared and saved in the shared list. After clicking to obtain the data, each 14-digit custom code will be assigned according to the user input, and a 6-digit random code will be generated using the random generation function. Both the 14-digit custom code and the random code can be modified separately. Modifying the shared data will synchronously modify the data in the shared list without the need to re-share. After sharing, the user-modified code will be saved, the shared data will be stored in the shared list, the unshared data will be deleted from the shared list, the unshared edits will not be saved, and the data will be reset after switching the data source.

[0097] 4. Data preservation When saving, the shared data deleted from the shared List is put into the nodeList, and the echoed shared data is removed from the shared List (that is, the data that is canceled this time is put into the deleteList). If there is any modification to the encoding of the shared channel, it is also put into the nodeList and sent to the backend.

[0098] Through the first to fourth embodiments, the present invention realizes a monitoring resource sharing system based on WEB application with complete functions and flexible operation. The system allows users to conveniently manage and share organizational resources and channel resources, supports custom coding, and provides powerful search and statistics functions. The front end of the system is responsible for processing most of the business logic, ensuring the real-time and smoothness of the operation, while the back end focuses on the persistent storage and management of data, ensuring the consistency and security of the data.

[0099] This design not only improves the efficiency of the system, but also enhances its scalability and maintainability. For example, if new sharing rules or coding schemes need to be added in the future, only the corresponding modifications need to be made in the front-end logic without changing the back-end data structure. At the same time, due to the modular design, each functional module of the system (such as sharing management, coding management, search, statistics, etc.) can evolve and optimize independently, so that the entire system can better adapt to future changes in demand.

[0100] Although the embodiments of the present invention have been shown and described above, it will be appreciated that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, substitute and vary the above embodiments within the scope of the present invention.

Claims

1. A monitoring resource recursive sharing and coding management system based on Web application, characterized by: include User interface module: displays the organization tree, channel list, and search box in the web application, receives operation instructions entered by the user, displays the generated global visualization statistics view, and receives and displays the sharing status change information pushed from the backend; Sharing management module: recursively share or cancel sharing operations on corresponding organizations or channels, manage sharing lists; simultaneously start recursive traversal of multiple non-continuously distributed parent nodes to generate multiple sets of target node sets; Coding management module: perform custom coding operations for organizations or channels, and generate random codes; Generate a composite code containing a fixed prefix and a variable part according to the preset hierarchical coding rules, perform conflict detection on the composite codes generated at the same level, and automatically rewrite the random string of the variable part when duplicate codes are detected, or prompt the user to modify the custom naming identifier; Statistics module: counts the shared channels and organizations; Based on the topological relationship of the tree-like hierarchical structure, a global visual statistical view of all shared monitoring resources is generated, and the view dynamically displays at least two of the following statistical dimensions: the proportion of shared nodes at each level, the distribution ratio of custom codes and random codes, and the reference path topology of cross-organizational shared resources; Data management module: stores organization data, channel data, domain resource data, node composite coding and shared status information; API interface module: provides data echo interface and data storage interface for data interaction with the front-end system, receives shared data, encoded data and shared status change information sent by the front-end and saves them to the data management module, and can return corresponding data according to the front-end request.

2. The system according to claim 1, characterized in that: The sharing management module has the functions of recursive sharing and canceling sharing, which can be realized through a variety of operation modes, including sharing and canceling sharing operations for a single or multiple nodes; the composite code generated by the coding management module consists of a fixed prefix and a variable part, the variable part includes user-defined content and randomly generated content, the randomly generated content accounts for a certain proportion of the variable part of the code, and the fixed prefix is ​​determined by the hierarchical position of the node; the statistics module counts the number of shared channels and organizations in real time, and dynamically updates the global visual statistical view; The API interface module includes a data echo and save interface, which is used for front-end and back-end data interaction, echoing organization data and channel data, and saving sharing, encoding and sharing status change data sent by the front end.

3. A method for recursive sharing and coding management of monitoring resources based on Web applications, characterized in that: The method implemented based on the system described in claim 1 or 2 comprises the following steps: The user interface module of the front-end system receives the organization level configuration parameters input by the user, and constructs a tree-like hierarchical structure in the Web platform, wherein the hierarchical structure includes parent and child nodes, and each node is bound to at least one monitoring resource; The front-end system loads the organization and channel data and displays the organization tree and channel list in the user interface module; The sharing management module of the front-end system responds to the recursive sharing operation instruction, automatically traverses the selected parent node and all its subordinate child nodes to form a target node set; according to the batch operation mode selected by the user, recursive traversal is simultaneously started for multiple non-continuously distributed parent nodes to generate multiple sets of target node sets; The coding management module of the front-end system performs the following operations on each node in the target node set: according to the preset hierarchical coding rules, a composite code including a fixed prefix and a variable part is generated, wherein the fixed prefix is ​​determined by the hierarchical position of the node, and the variable part supports the user to select a randomly generated string or a custom input naming identifier; conflict detection is performed on the composite codes generated at the same level, and when duplicate codes are detected, the random string of the variable part is automatically rewritten, or the user is prompted to modify the custom naming identifier; the generated composite code is bound and stored with the corresponding monitoring resource; The statistics module of the front-end system generates a global visual statistical view of all shared monitoring resources based on the topological relationship of the tree-like hierarchical structure. The view dynamically displays at least two of the following statistical dimensions: the proportion of shared nodes at each level, the distribution ratio of custom codes to random codes, and the reference path topology of cross-organizational shared resources; at the same time, the shared channels and organizations are counted and counted; When the sharing status of any child node changes, the push module of the front-end system sends a short message to all clients that have permission association with the child node, triggering a partial refresh of the front-end interface; The front-end system interacts with the back-end system through the API interface module, including obtaining organizational data, channel data, domain resource data, node coding, and shared status information from the back-end system for display, and sending shared data, coding data, and shared status change information to the back-end system for storage.

4. The method according to claim 3, characterized in that: The sharing operation steps include: the front end maintains a shared list sharedList, which includes a shared organization list and a shared channel list; The user selects a node and clicks the one-click sharing button. The sharing management module of the front-end system recursively traverses the selected node and all its child nodes, adds each traversed node that is not in the shared list to the shared list, updates the interface display, and marks the shared node as shared; Use the shared list sharedList for management; the user selects a node and clicks the one-click unshare button. The sharing management module of the front-end system recursively traverses the selected node and all its child nodes, removes each traversed node in the shared list from the shared list, updates the interface display, and marks the unshared node as unshared; The user selects multiple nodes through the multi-select operation and clicks the multi-select share or multi-select cancel share button. The sharing management module of the front-end system traverses all selected nodes and executes the same logic as the one-click share / cancel share for each node, that is, checks whether the node is in the shared list, adds or removes the node accordingly, and updates the shared list and interface display; The user selects a single organization or channel and clicks the Push or Cancel button. The sharing management module of the front-end system checks whether the item is in the shared list, adds or removes it based on the operation type, and updates the interface display to reflect the change in the sharing status of the item.

5. The method according to claim 4, characterized in that: The encoding steps include: In the coding operation steps, the coding management module generates a code for the organization or channel. The code consists of a fixed prefix and a variable part. For custom codes, users can set custom content of the variable part in the coding input interface according to their needs. The system generates random content of the variable part based on the character set and random number seed. Users can modify the entire code. The system saves the modified code and associates it with the corresponding organization or channel. In the process of generating codes, conflict detection is performed on the codes at the same level. If a conflict is detected, the random content is automatically adjusted or the user is prompted to modify the custom content.

6. The method according to claim 5, characterized in that: Also includes the search step: The user enters a keyword in the search box. The search module of the front-end system uses a tree-structured depth-first search algorithm to recursively traverse the organization tree starting from the root node. For each node, it checks whether its name or code contains the search keyword. If it matches, the node is added to the search result list and the child nodes of the node are traversed. After the traversal is completed, the search result list is displayed. The user enters keywords in the search box, and the search module of the front-end system traverses all channel data. For each channel, it checks whether its name, code or related attributes contain the search keyword. If it matches, the channel is added to the search result list. After the traversal is completed, the search result list is displayed.

7. The method according to claim 6, characterized in that: In the statistical step: the statistical module of the front-end system maintains the shared organization counter and the shared channel counter. Each time a sharing or canceling sharing operation is performed, for one-click sharing / cancelling sharing, the counter is updated when recursively traversing the nodes; for multiple-select sharing / cancelling sharing, the counter is updated when traversing the selected items; for individual push / cancellation of push, the corresponding counter is directly increased or decreased, and the counter value is displayed in real time on the interface.

8. The method according to claim 7, characterized in that: It also includes data saving and synchronization steps: When the user clicks the Save button, the data transmission module of the front-end system collects all shared organization and channel information, including their custom encodings, organizes these data into a JSON object, and sends the JSON data to the API interface module of the back-end system through an AJAX request. The API interface module of the back-end system receives the data and updates the corresponding records in the data management module. The back-end returns a confirmation message of successful saving. After the data transmission module of the front-end system receives the information, a prompt of successful saving is displayed in the user interface module.

9. The method according to claim 8, characterized in that: It also includes a domain resource management step: the domain resource management module of the front-end system maintains a domain resource object, which includes a list of shared organizations and channels. The domain resource object is updated each time a sharing or canceling operation is performed. When a user requests to view domain resources, the system generates a hierarchical view to display all shared organizations and channels, provides a domain resource export function, and converts the entire domain resource data into a specific format to facilitate integration with other systems or data exchange.

Citation Information

Patent Citations

  • Data service platform visual management tool, method and application based on resource tree

    CN113032364A

  • Cross-platform video resource sharing access control method and system

    CN119450102A

  • Configuration change management method, configuration change management system, and node

    WO2020170656A1

Cited By

  • Resource management method and system for animation items

    CN121120871A