Multi-user-oriented soft resource online process collaborative service method and system

By adopting a combination of firewalls, reverse agents and network nodes in the power industry business information system, combined with distributed database and cluster search cache management, the system of performance bottlenecks and data islands in high concurrent scenes have been solved. Resource allocation and business process collaboration improves the availability and scalability of the system.

CN119363835APending Publication Date: 2025-01-24WUZHONG POWER SUPPLY COMPANY STATE GRID NINGXIA ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411630063.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

The existing power industry business information system cannot effectively respond to dynamically changing user needs and resource conditions in high concurrency scenarios, resulting in low resource utilization or overload, and problems such as poor communication, unreasonable task allocation and data silos, affecting the system. Performance and efficiency.

Method used

Realize the high -efficiency distribution of traffic through the firewall, reverse proxy, and site nodes to support high concurrency access; use the cache function of a distributed database to reduce frequent access to back -end services; cluster search and cache management on the application layer and service layer, and cache management. Enhance the flexibility and scalability of the system.

Benefits of technology

It improves the service quality and availability of the system, supports high concurrent access, reduces resource waste, enhances the scalability and flexibility of the system, and ensures the smooth progress of business processes and effective sharing of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363835A_ABST
    Figure CN119363835A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-user-oriented soft resource online process collaborative service method and system, and belongs to the technical field of multi-user collaboration. The method specifically comprises the steps that multiple users send access requests to a system, and the access requests are transferred to an application layer through firewall filtering, reverse proxy server distribution and gateway node analysis processing; performing cluster search of the business application through the search cluster, operating on a business application page according to request content, caching the business application page in a distributed database, and sending a business application request; the method comprises the following steps: performing cluster search of business service on a service layer through a search cluster, caching the business service in a distributed database, sending a business service request, calling a data access layer, and returning a calling result to a user, thereby realizing multi-user-oriented soft resource online process collaborative service. According to the invention, service collaboration in a multi-user environment is displayed, and the service quality of the system is improved through efficient distributed collaboration and resource optimization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of business information systems in the electric power industry, and more specifically, to a multi-user oriented soft resource online process collaborative service method and system. Background Art

[0002] There are many comprehensive process approval businesses in the power industry, such as the power industry business information system used to apply for, issue, display, update, cancel, download, and verify the electronic license of power business license. The characteristics of this type of business information system are that it is widely used by users, involves many business departments, and contains massive data resources. During the peak period of user use, the resource scheduling strategy becomes the system performance bottleneck. Specifically:

[0003] The existing resource scheduling strategy cannot effectively respond to dynamically changing user needs and resource conditions. The lack of intelligent resource allocation and scheduling mechanism may lead to low resource utilization or overload.

[0004] In high-concurrency scenarios, the system may face load balancing challenges. An imperfect load balancing strategy may cause some servers to be overloaded while other servers are idle, affecting the overall system performance;

[0005] When multiple users collaborate to complete tasks, they may face problems such as poor communication and unreasonable task allocation. These obstacles may lead to inefficient task execution and even affect the smooth progress of the entire business process;

[0006] In a multi-user collaborative service system, data islands may exist between different users or departments. These data islands may lead to the inability to effectively share and integrate information, affecting the overall effectiveness of the system. Summary of the invention

[0007] In order to solve the deficiencies in the prior art, the present invention provides a multi-user soft resource online process collaborative service method. Through firewalls, reverse proxies and gateway nodes, the system realizes efficient distribution of traffic and supports high concurrent access. Through the caching function of the distributed database, the frequent access to back-end services is reduced, and system resources are saved. Cluster search and cache management are performed at the business application and service levels respectively, which enhances the flexibility and scalability of the system, fully demonstrates service collaboration in a multi-user environment, and improves the service quality and availability of the system through efficient distributed collaboration and resource optimization.

[0008] The present invention adopts the following technical solution.

[0009] The first aspect of the present invention provides a multi-user soft resource online process collaborative service method, comprising:

[0010] Step 1: Multiple users send access requests to the system, which are transferred to the application layer through firewall filtering, reverse proxy server allocation and gateway node analysis and processing;

[0011] Step 2: Perform a cluster search of the business application on the access request content transferred to the application layer in step 1 at the application layer through the search cluster, operate on the business application page according to the request content, cache the business application page in the distributed database, and issue a business application request;

[0012] Step 3: Perform a cluster search for business services on the business application request issued in step 2 at the service layer through the search cluster, cache the business services in the distributed database, and issue a business service request;

[0013] Step 4: Call the data access layer through the business service request issued in step 3, and return the call result to the user, so as to realize the soft resource online process collaborative service for multiple users.

[0014] Preferably, in step 1, multiple users initiate access requests from the client, and the firewall performs security filtering on the access requests issued by the system to check whether the requests comply with the preset rules of the system, and requests that do not comply are directly rejected;

[0015] After the access request is filtered by the firewall, the reverse proxy server is used at the gateway layer to receive the access request. The reverse proxy server forwards the external request to the internal server through the reverse proxy. The reverse proxy server is configured with a load balancer to evenly distribute the access request to the gateway nodes through load balancing.

[0016] The gateway node authenticates the request, checks whether the user has permission to access specific resources, and forwards the request to the application layer based on the content of the request and the path information of the request.

[0017] Preferably, in step 2, a request is received at the application layer, and the business application in the request is searched in the cache. If not found, the business application corresponding to the access request is searched at the application layer through the search cluster. If still not found, the business application sends a registration request to the service registration center and provides access metadata information. After receiving the registration request, the service registration center stores the metadata information in a distributed database and provides a query interface for the distributed database. The business application information after successful registration is cached again.

[0018] Preferably, in step 2, when the application layer operates the business application, the operation event information is pushed to the topic of the message middleware, and the business applications and service layers of the other application layers monitor the operation events through the message middleware.

[0019] Preferably, in step 3, the request is received at the service layer, and the business service in the request is searched in the cache. If not found, the business service corresponding to the access request is searched at the service layer through the search cluster. The business service sends a registration request to the service registration center and provides metadata information for the access. After receiving the registration request, the service registration center stores the metadata information in a distributed database and provides a query interface for the distributed database.

[0020] Preferably, in step 4, the data access layer includes distributed database access, cache access and search access.

[0021] Preferably, requesting to call the distributed database access in the data access layer specifically includes:

[0022] The business service sends a query request, which encapsulates the SQL statement and operation instructions;

[0023] After receiving the request, the data access layer routes it to the corresponding distributed database node based on the request content;

[0024] Execute queries in distributed database nodes and return results to the data access layer;

[0025] The data access layer then returns the results to the user.

[0026] Preferably, requesting to invoke cache access in the data access layer specifically includes:

[0027] First check if the data is already in the cache;

[0028] If the cache hits, the data is read directly from the cache;

[0029] If there is a miss, the request is passed to the database, and the data is retrieved and placed in the cache.

[0030] Preferably, the request calls the search access in the data access layer, specifically including:

[0031] When a user requests a search, the data access layer builds a suitable query statement for the search engine;

[0032] The search engine executes the search request and returns index information and a list of documents;

[0033] The data access layer parses the returned results, filters out the required data based on the request, and returns the results to the user.

[0034] A second aspect of the present invention provides a multi-user soft resource online process collaborative service system for running a multi-user soft resource online process collaborative service method, comprising:

[0035] Request acquisition module: used for multiple users to send access requests to the system, and transfer the access requests to the application layer through firewall filtering, reverse proxy server allocation and gateway node analysis and processing;

[0036] Application module: used to perform cluster search of business applications on the access request content transferred to the application layer at the application layer through the search cluster, operate on the business application page according to the request content, cache the business application page in the distributed database, and issue a business application request.

[0037] Service module: It is used to perform cluster search for business services on the service layer for business application requests issued by searching clusters, cache business services in a distributed database, and issue business service requests.

[0038] Call module: used to call the data access layer through the issued business service request, return the call result to the user, and realize the soft resource online process collaborative service for multiple users.

[0039] The beneficial effects of the present invention are that, compared with the prior art, the system supports access from mobile devices, and users can perform business approval, query and other operations anytime and anywhere, making business response more rapid; the load balancer can dynamically allocate requests to different service modules according to the number and distribution of user requests, supports high concurrent access, and can ensure that when some service modules fail, requests can be automatically transferred to other normal modules; automatic process execution is set at the application layer, and through preset business rules and processes, the system can automatically execute most business processes, significantly reducing manual intervention and improving business processing efficiency. Automatic process execution also reduces human errors and delays, ensuring the accuracy and timeliness of business; the system supports personalized customization of business processes, provides functions for adjusting and optimizing business processes, and provides rich templates and components, so that enterprises can flexibly adjust according to market changes and actual business needs, and facilitate enterprises to quickly build business processes that meet their own needs; the system interface design is concise and clear, easy to operate and use, and reduces It reduces the user's learning cost and difficulty of use, provides intelligent prompts and guidance functions, helps employees get started quickly and reduces operational errors; through distributed databases and distributed cache databases, it updates business process status and information in real time, and provides real-time feedback on the execution status and progress of business processes, so that management can understand the business situation in a timely manner, make decisions and adjustments quickly, reduce frequent visits to back-end services, save system resources, and achieve horizontal expansion and distributed storage of data; through distributed service splitting of application servers, the system supports cross-departmental collaboration, allowing employees from different departments to jointly participate in the execution and monitoring of business processes, provides collaborative work functions and communication tools, facilitates information sharing and communication between employees, fully demonstrates service collaboration in a multi-user environment, and improves the system's service quality and availability through efficient distributed collaboration and resource optimization; adopts a distributed architecture to split the system into multiple independent service modules, each module is responsible for different functions, so as to improve the scalability and stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a flow chart of the present invention;

[0041] Figure 2 This is a diagram of the distributed service architecture of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.

[0043] Embodiment 1 of the present invention provides a multi-user soft resource online process collaborative service method, such as Figure 1 As shown, including:

[0044] Step 1: Multiple users send access requests to the system, which are transferred to the application layer through firewall filtering, reverse proxy server allocation and gateway node analysis and processing;

[0045] Multiple users initiate access requests from clients such as IOS, PC, Android and pad. The firewall performs security filtering on the access requests issued by the system to check whether the requests comply with the system's preset rules, such as IP address, port, etc. Requests that do not comply will be directly rejected.

[0046] After the access request is filtered by the firewall, the Nginx high-availability cluster is used as a reverse proxy server at the gateway layer to receive the access request. Nginx forwards the external request to the internal server through the reverse proxy. Nginx configures a load balancer to evenly distribute the access request to the gateway node through load balancing methods such as polling and minimum number of connections.

[0047] The Gateway authenticates the request, checks whether the user has permission to access specific resources, and forwards the request to the application layer based on the content of the request and the path information of the request.

[0048] Step 2: Perform a cluster search of the business application on the access request content transferred to the application layer in step 1 at the application layer through the search cluster, operate on the business application page according to the request content, cache the business application page in the distributed database, and issue a business application request.

[0049] The application layer contains multiple business applications, each of which is independently deployed on different servers.

[0050] Receive the request at the application layer, search for the business application in the request in the distributed cache database Redis. If no search is found, search the business application corresponding to the access request at the application layer through the search cluster. If still not found, the business application sends a registration request to the service registration center Nacos, providing access metadata information (such as IP address, port number, etc.). After receiving the registration request, Nacos will store the metadata information in the distributed database MYSQL and provide the query interface of the distributed database MYSQL for other services to call.

[0051] After successful registration, the business application information will be cached again in the distributed cache database Redis, and can be quickly obtained from the cache the next time the same request is made.

[0052] When the application layer operates business applications, the data publishing and subscription mode is implemented through the message middleware Kafka. The application layer pushes these event information to the Kafka topic, and the business applications and service layers of the other application layers listen to the operations through Kafka.

[0053] The application layer provides online process design tools including prototype tools, document office and design tools, etc., and provides a variety of form design templates and components. Users can customize business processes through request calls and configure through form applications to achieve flexibility and customizability of processes. Task allocation, progress tracking, message notification, resource planning and other management functions are performed at the application layer. Intelligent prompts and guidance functions are added at the application layer to facilitate users to operate in the system interface.

[0054] The system uses a node status data summary table in the application layer to uniformly manage the tasks triggering, information sending, diversion, jump control and other operations between different business processes, and realize cross-platform interactive data and process digital control. When the user-defined preset conditions are met, the process is triggered, and the system selects the path according to the preset conditions, automatically sends a request to dispatch the task to the business application of the corresponding application layer and the business service of the service layer, automatically executes the task, and realizes process automation. Process automation includes not only the automation of task execution, but also the automation of process triggering, path selection and task dispatching, task execution and risk and quality monitoring. The system can automatically initiate the process, automatically determine the next operation and task dispatching, automatically execute tasks, and monitor risks and quality to achieve this.

[0055] like Figure 2 As shown, the gateway layer first distributes multiple users to different application servers, and splits the services in the application servers into application layers and service layers according to the distributed service framework, so that users can operate the same service on different application servers, provide real-time communication tools, promote information exchange and collaborative work between users, and provide a variety of collaborative editing tools, such as online documents, tables, drawings, etc., so that multiple people can edit a shared resource at the same time to improve work efficiency.

[0056] The application layer can use the SQL query language to query information from the query interface provided by the distributed database MYSQL and store it in the distributed cache database Redis. For example, use the INSERT INTO...SELECT FROM statement to insert the contents of the MySQL table into the distributed cache database Redis, or use the SELECT command to directly obtain the value in Redis to the distributed database MYSQL, realizing cross-platform connectivity processes, transmitting information, and realizing diversified collaborative operations. User operations in different application servers involve data transmission between different process forms, data exchange between different system processes and different databases, and data interaction operations between databases on different platforms.

[0057] Step 3: Perform a cluster search for business services on the business application request issued in step 2 at the service layer through the search cluster, cache the business services in the distributed database, and issue a business service request.

[0058] The service layer includes business services, which are in the form of microservices and receive information from the application layer by listening to the Kafka message queue.

[0059] The service layer receives the request and searches for the business service in the request in the distributed cache database Redis. If the business service is not found, the service layer searches for the business service corresponding to the access request through the search cluster. The business service sends a registration request to the service registration center Nacos and provides access metadata information (such as IP address, port number, etc.). After receiving the registration request, Nacos stores the metadata information in the distributed database MYSQL and provides a query interface for the distributed database MYSQL for other services to call.

[0060] Step 4: Call the data access layer through the business service request issued in step 3 and return the call result to the user.

[0061] The data access layer includes distributed database access, cache access, and search access.

[0062] The request calls the distributed database access in the data access layer, which specifically includes: the business service sends a query request, which encapsulates the required SQL statements and operation instructions; after the data access layer receives the request, it routes it to the corresponding distributed database node according to the request content; executes the query in the distributed database node and returns the result to the data access layer; the data access layer then returns the result to the user.

[0063] The request calls the cache access in the data access layer, which specifically includes: first checking whether the data is already in the cache Redis; if the cache hits, the data is read directly from the cache to improve the response speed; if it does not hit, the request will continue to pass down to the database, and after obtaining the data, it will be put into the cache for subsequent requests.

[0064] The request invokes the search access in the data access layer, including:

[0065] When a user requests a search, the data access layer constructs a suitable query statement for the search engine API;

[0066] The search engine executes the search request and returns relevant index information or a list of documents;

[0067] The data access layer parses the returned results, filters out the required data, and returns the results to the user.

[0068] The distributed file system includes a master database, slave databases, and sub-databases, which are stored in a distributed database. Read and write operations are performed through the distributed database access of the data access layer. Multiple users can access corresponding business applications and business services in different application servers, and then collaboratively modify the corresponding files in the distributed file system through the data access layer at the same time.

[0069] Embodiment 2 of the present invention proposes a multi-user soft resource online process collaborative service system, including:

[0070] Request acquisition module: used for multiple users to send access requests to the system, and transfer the access requests to the application layer through firewall filtering, reverse proxy server allocation and gateway node analysis and processing;

[0071] Application module: used to perform cluster search of business applications on the access request content transferred to the application layer at the application layer through the search cluster, operate on the business application page according to the request content, cache the business application page in the distributed database, and issue a business application request.

[0072] Service module: It is used to perform cluster search for business services on the service layer for business application requests issued by searching clusters, cache business services in a distributed database, and issue business service requests.

[0073] Call module: used to call the data access layer through the issued business service request and return the call result to the user.

[0074] The beneficial effects of the present invention are that, compared with the prior art, the system supports access from mobile devices, and users can perform business approval, query and other operations anytime and anywhere, making business response more rapid; the load balancer can dynamically allocate requests to different service modules according to the number and distribution of user requests, supports high concurrent access, and can ensure that when some service modules fail, requests can be automatically transferred to other normal modules; automatic process execution is set at the application layer, and through preset business rules and processes, the system can automatically execute most business processes, significantly reducing manual intervention and improving business processing efficiency. Automatic process execution also reduces human errors and delays, ensuring the accuracy and timeliness of business; the system supports personalized customization of business processes, provides functions for adjusting and optimizing business processes, and provides rich templates and components, so that enterprises can flexibly adjust according to market changes and actual business needs, and facilitate enterprises to quickly build business processes that meet their own needs; the system interface design is concise and clear, easy to operate and use, and reduces It reduces the user's learning cost and difficulty of use, provides intelligent prompts and guidance functions, helps employees get started quickly and reduces operational errors; through distributed databases and distributed cache databases, it updates business process status and information in real time, and provides real-time feedback on the execution status and progress of business processes, so that management can understand the business situation in a timely manner, make decisions and adjustments quickly, reduce frequent visits to back-end services, save system resources, and achieve horizontal expansion and distributed storage of data; through distributed service splitting of application servers, the system supports cross-departmental collaboration, allowing employees from different departments to jointly participate in the execution and monitoring of business processes, provides collaborative work functions and communication tools, facilitates information sharing and communication between employees, fully demonstrates service collaboration in a multi-user environment, and improves the system's service quality and availability through efficient distributed collaboration and resource optimization; adopts a distributed architecture to split the system into multiple independent service modules, each module is responsible for different functions, so as to improve the scalability and stability of the system.

[0075] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A multi-user soft resource online process collaborative service method, characterized by: Step 1: Multiple users send access requests to the system, which are transferred to the application layer through firewall filtering, reverse proxy server allocation and gateway node analysis and processing; Step 2: Perform a cluster search of the business application on the access request content transferred to the application layer in step 1 at the application layer through the search cluster, operate on the business application page according to the request content, cache the business application page in the distributed database, and issue a business application request; Step 3: Perform a cluster search for business services on the business application request issued in step 2 at the service layer through the search cluster, cache the business services in the distributed database, and issue a business service request; Step 4: Call the data access layer through the business service request issued in step 3, and return the call result to the user, so as to realize the soft resource online process collaborative service for multiple users.

2. The method for online process collaboration service of soft resources for multiple users according to claim 1, characterized in that: In step 1, multiple users initiate access requests from the client, and the firewall performs security filtering on the access requests issued by the system to check whether the requests comply with the preset rules of the system. Requests that do not comply are directly rejected; After the access request is filtered by the firewall, the reverse proxy server is used at the gateway layer to receive the access request. The reverse proxy server forwards the external request to the internal server through the reverse proxy. The reverse proxy server is configured with a load balancer to evenly distribute the access request to the gateway nodes through load balancing. The gateway node authenticates the request, checks whether the user has permission to access specific resources, and forwards the request to the application layer based on the content of the request and the path information of the request.

3. The method for online process collaboration service of soft resources for multiple users according to claim 1, characterized in that: In step 2, the request is received at the application layer, and the business application in the request is searched in the cache. If it is not found, the business application corresponding to the access request is searched at the application layer through the search cluster. If it is still not found, the business application sends a registration request to the service registration center and provides access metadata information. After receiving the registration request, the service registration center stores the metadata information in the distributed database and provides a query interface for the distributed database. The business application information after successful registration is cached again.

4. The method for online process collaboration service of soft resources for multiple users according to claim 1, characterized in that: In step 2, when the application layer operates the business application, the operation event information is pushed to the topic of the message middleware, and the business applications and service layers of the other application layers monitor the operation events through the message middleware.

5. The method for online process collaboration service of soft resources for multiple users according to claim 1, characterized in that: Step 3: Receive the request at the service layer and search the cache for the business service in the request. If not found, search the service layer for the business service corresponding to the access request through the search cluster. The business service sends a registration request to the service registration center and provides metadata information for the access. After receiving the registration request, the service registration center stores the metadata information in the distributed database and provides a query interface for the distributed database.

6. The method for online process collaboration service of soft resources for multiple users according to claim 1, characterized in that: In step 4, the data access layer includes distributed database access, cache access, and search access.

7. The method for online process collaboration service of soft resources for multiple users according to claim 6, characterized in that: Requests to invoke distributed database access in the data access layer include: The business service sends a query request, which encapsulates the SQL statement and operation instructions; After receiving the request, the data access layer routes it to the corresponding distributed database node based on the request content; Execute queries in distributed database nodes and return results to the data access layer; The data access layer then returns the results to the user.

8. The method for online process collaboration service of soft resources for multiple users according to claim 6, characterized in that: Requests to invoke cache access in the data access layer include: First check if the data is already in the cache; If the cache hits, the data is read directly from the cache; If there is a miss, the request is passed to the database, and the data is retrieved and placed in the cache.

9. The method for online process collaboration service of soft resources for multiple users according to claim 6, characterized in that: The request invokes the search access in the data access layer, including: When a user requests a search, the data access layer builds a suitable query statement for the search engine; The search engine executes the search request and returns index information and a list of documents; The data access layer parses the returned results, filters out the required data based on the request, and returns the results to the user.

10. A multi-user soft resource online process collaborative service system, used to run a multi-user soft resource online process collaborative service method according to any one of claims 1 to 9, characterized in that: Request acquisition module: used for multiple users to send access requests to the system, and transfer the access requests to the application layer through firewall filtering, reverse proxy server allocation and gateway node analysis and processing; Application module: used to perform cluster search of business applications on the access request content transferred to the application layer at the application layer through the search cluster, operate on the business application page according to the request content, cache the business application page in the distributed database, and issue a business application request. Service module: It is used to perform cluster search for business services on the service layer for business application requests issued by searching clusters, cache business services in a distributed database, and issue business service requests. Call module: used to call the data access layer through the issued business service request, return the call result to the user, and realize the soft resource online process collaborative service for multiple users.