Server forwarding system and method for automatically tracking data

By deploying business code on the server and utilizing a routing address matching mechanism, the problem of the limitation of the same code in existing technologies is solved, enabling independent operation and flexible adaptation of different business systems, and improving system availability and performance.

CN121887853APending Publication Date: 2026-04-17SICHUAN HONGMEI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SICHUAN HONGMEI INTELLIGENT TECH CO LTD
Filing Date
2026-02-03
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing distributed management tools require that instances deployed on each server must use the same set of business code, making it impossible to apply to different system businesses, failing to meet the needs of diverse business scenarios, and lacking the ability to automatically handle differences, thus limiting the flexibility and scalability of the system.

Method used

This paper provides an automatic data tracking server forwarding system. By deploying business code on the server through a configuration module, the routing address of the business code is consistent with or matched according to the service request instruction. The system then uses the corresponding target server to respond and stores the response results in a database to support long-term data preservation and analysis.

Benefits of technology

It enables independent operation and flexible adaptation of different business systems, improves system availability and performance, reduces system maintenance complexity, and supports rapid iteration and expansion of business needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121887853A_ABST
    Figure CN121887853A_ABST
Patent Text Reader

Abstract

The invention provides a server forwarding system and method for automatically tracking data. The system comprises a configuration module, a request receiving module, a request forwarding module and a response processing module, the configuration module is configured to deploy a service code on the server; one service code corresponds to one service for response; obtaining a first target server after the deployment of the service code is completed; the request receiving module is configured to receive a service request instruction; the request forwarding module is configured to send the service request instruction to a first target server according to the configuration information of the configuration module; the response processing module is configured to receive reply data after response of the first target server so as to solve the problems that an existing distributed management tool requires that instances deployed on each server must be the same set of service codes, logic and content of processed messages are completely consistent, different system services cannot be applied, and the service quality is poor. And the requirements of diversified business scenes are difficult to meet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a server forwarding system and method for automatically tracking data. Background Technology

[0002] In today's era of rapid digital information development, message forwarding systems are widely used in various distributed business scenarios, such as financial transaction systems, e-commerce platform order processing systems, and large enterprise data interaction systems. In these scenarios, the volume of business data is massive and continuously growing, placing extremely high demands on the real-time performance, accuracy, and reliability of message processing. To meet these business needs, it is necessary to build an efficient and stable message forwarding architecture to ensure that messages can be accurately and quickly transmitted and processed between different server nodes, supporting the smooth operation of various complex business processes.

[0003] To address these needs, existing message forwarding methods primarily rely on distributed management tools. These tools enable configuration synchronization and status management among forwarding servers, allowing for comprehensive monitoring and management of each server node. During message processing, load balancing algorithms are used to determine which server should respond. In the event of server downtime or other failures, a task redistribution mechanism can be implemented to distribute tasks to other operational servers, ensuring effective message processing.

[0004] However, current distributed management tools require that instances deployed on each server use the same set of business code, with completely consistent message processing logic and content. This makes it impossible to apply to different system businesses and fails to meet the needs of diverse business scenarios. Furthermore, businesses share a single data source, lacking the ability to automatically handle differences and adapt flexibly to different business characteristics. In addition, receiving requests and processing responses is limited to only one of multiple servers, failing to automatically track configurations to meet users' differentiated business needs, significantly restricting the system's flexibility and scalability. Summary of the Invention

[0005] This application provides a server forwarding system and method for automatically tracking data, in order to solve the technical problem that existing distributed management tools require that each instance deployed on each server must have the same set of business code, and that the logic and content of message processing must be completely consistent, which makes it impossible to apply to different system businesses and makes it difficult to meet the needs of diverse business scenarios.

[0006] The first aspect of this application provides a server forwarding system for automatically tracking data, comprising: The module includes a configuration module, a request receiving module, a request forwarding module, and a response processing module. The configuration module is configured as follows: Deploy the business logic on the server; each piece of business logic corresponds to a specific business function for response. Once the business code is deployed, the first target server is obtained; The request receiving module is configured as follows: Receive service request instructions; The request forwarding module is configured as follows: Based on the configuration information of the configuration module, the service request instruction is sent to the first target server; The response processing module is configured as follows: Receive the response data after the first target server responds.

[0007] In some embodiments, the configuration module is further configured to: Deploy business code on the server according to the routing address of the service request instruction, so that the routing address of the business code is consistent with the routing address of the service request instruction; The request forwarding module is also configured as follows: Determine whether the routing address of the business code is consistent with the routing address of the service request instruction; If the routing address of the business code is the same as the routing address of the service request instruction, then the service request instruction is responded to using the business code of the corresponding second target server.

[0008] In some embodiments, the request forwarding module is further configured to: If the routing address of the business code does not match the routing address of the service request instruction, then the matching is performed according to the hierarchy of the routing addresses until the routing address of the business code matches the routing address of the service request instruction, and the service request instruction is responded to using the business code of the corresponding second target server.

[0009] In some embodiments, the request forwarding module is further configured to: Once the service request instruction has been responded to, the response result will be stored in the database.

[0010] In some embodiments, the configuration module is further configured to: Get the new business code; Deploy the newly added business code to the first target server.

[0011] In some embodiments, the configuration module is further configured to: Deploy the business logic code on the server based on the routing address information; The request forwarding module is further configured as follows: Based on the routing address information, a third target server is determined, and the service request instruction is sent to the third target server.

[0012] The second aspect of this application provides a server forwarding method for automatically tracking data, applied to a server forwarding system for automatically tracking data as described in any one of the first aspects above, comprising: Deploy the business logic on the server; each piece of business logic corresponds to a specific business function for response. Once the business code is deployed, the first target server is obtained; Receive service request instructions; According to the configuration information, the service request instruction is sent to the first target server; Receive the response data after the first target server responds.

[0013] In some embodiments, the method further includes: Deploy business code on the server according to the routing address of the service request instruction, so that the routing address of the business code is consistent with the routing address of the service request instruction; Determine whether the routing address of the business code is consistent with the routing address of the service request instruction; If the routing address of the business code is consistent with the routing address of the service request instruction, then the service request instruction is responded to using the business code of the corresponding second target server; If the routing address of the business code does not match the routing address of the service request instruction, then the matching is performed according to the hierarchy of the routing addresses until the routing address of the business code matches the routing address of the service request instruction, and the service request instruction is responded to using the business code of the corresponding second target server.

[0014] This application provides a server forwarding system and method for automatically tracking data. The system includes a configuration module, a request receiving module, a request forwarding module, and a response processing module. The configuration module is configured to deploy business code on a server; one business code corresponds to one business response; after the business code is deployed, a first target server is obtained. The request receiving module is configured to receive service request instructions. The request forwarding module is configured to send the service request instructions to the first target server according to the configuration information of the configuration module. The response processing module is configured to receive the reply data after the first target server responds, so that for the same data request, the business party can customize and develop its own business according to the predefined request data and address. Attached Figure Description

[0015] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a flowchart illustrating the operation of the server forwarding system for automatically tracking data in this application. Figure 2 A schematic diagram illustrating the automatic forwarding configuration for a single address system in this application; Figure 3 A schematic diagram illustrating the configuration of automatic forwarding for multiple address systems in the requested service in this application; Figure 4 This diagram illustrates the server configuration for forwarding of interface requests in the routing address hierarchy classification of this application.

[0017] Explanation of reference numerals in the attached figures: 1-Configuration module; 2-Request receiving module; 3-Request forwarding module; 4-Response processing module. Detailed Implementation

[0018] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0019] In some technologies, distributed management tools require that instances deployed on each server must use the same set of business code, with completely consistent message processing logic and content. This makes it impossible to apply to different system businesses and fails to meet the needs of diverse business scenarios. To solve this technical problem, this application provides a server forwarding system and method for automatically tracking data. The server forwarding system and method for automatically tracking data are described below: like Figure 1 The diagram shown is a flowchart of the server forwarding system for automatically tracking data in this application during operation.

[0020] The first aspect of this application provides a server forwarding system for automatically tracking data, comprising: The system consists of a configuration module 1, a request receiving module 2, a request forwarding module 3, and a response processing module 4.

[0021] like Figure 2 The diagram shown illustrates the automatic forwarding configuration for a single address system in this application.

[0022] The configuration module 1 is configured as follows: Deploy the business code on the server; one business code corresponds to one business to respond; after the business code is deployed, the first target server is obtained.

[0023] The request receiving module 2 is configured as follows: Receive service request instructions.

[0024] The request forwarding module 3 is configured as follows: Based on the configuration information of the configuration module 1, the service request instruction is sent to the first target server.

[0025] The response processing module 4 is configured as follows: Receive the response data after the first target server responds.

[0026] In this embodiment, the automatic tracking data forwarding system is divided into two types of data forwarding; the first type is forwarding for a single interface service, which requires configuring a complete routing address based on the complete address of the request and the complete address of the service deployed on the server.

[0027] This application provides an automatic data tracking server forwarding system. For the same data request, the business party can customize and develop its own business based on the predefined request data and address. All businesses are deployed on one or more servers. By configuring the server domain name or specific address that each address can request and the response server in the system, different businesses on different servers can receive the request data and perform logical processing according to their respective business needs, operating independently without affecting each other.

[0028] like Figure 3 The diagram shown illustrates the automatic forwarding configuration of multiple address systems in the service request process described in this application.

[0029] In this embodiment, the configuration module 1 is further configured to: Deploy business code on the server according to the routing address of the service request instruction, so that the routing address of the business code is consistent with the routing address of the service request instruction.

[0030] The request forwarding module 3 is further configured as follows: Determine whether the routing address of the business code is consistent with the routing address of the service request instruction.

[0031] If the routing address of the business code is the same as the routing address of the service request instruction, then the service request instruction is responded to using the business code of the corresponding second target server.

[0032] If the routing address of the business code does not match the routing address of the service request instruction, then the matching is performed according to the hierarchy of the routing addresses until the routing address of the business code matches the routing address of the service request instruction, and the service request instruction is responded to using the business code of the corresponding second target server.

[0033] In this embodiment, the second type is service forwarding for a single service. This type of forwarding requires configuring the domain name hierarchy of the address as needed. Different levels will forward to different services. For example, forwarding for the entire service can be configured based on the routing address, or forwarding can be configured for a specific module within the service: the user or device module. After configuration, when data is requested through the original domain name address, it first checks if it matches the first detailed address. If a match is found, it queries the configured detailed server and service addresses and forwards the request and data to the configured service address for processing. If no detailed interface address is matched, it matches the interface hierarchy layer by layer, proceeding forward from the routing address hierarchy. Once a match is found, it obtains the server service address configured in the second type and forwards the request and data to the configured service address for processing. The granularity of forwarding can be arbitrarily configured according to business requirements, thus enabling flexible implementation of business data forwarding.

[0034] In this embodiment, the request forwarding module 3 is further configured to: Once the service request instruction has been responded to, the response result will be stored in the database.

[0035] In this embodiment, the database is configured for data persistence and traceability. By storing the response results of service requests in the database, long-term data preservation is ensured, preventing data loss due to system restarts, failures, or other unforeseen circumstances. This is particularly important for scenarios requiring long-term storage of business data, historical data analysis, or compliance requirements. Database storage makes the response to each service request traceable, facilitating subsequent auditing, tracking, and troubleshooting. In the event of business disputes or system failures, the events can be reconstructed by querying records in the database to identify the root cause of the problem.

[0036] Furthermore, the database is configured to support data analysis and decision-making, and the response results stored in the database can serve as a valuable data source for data analysis. By mining and analyzing this data, key information such as business operation patterns, user behavior patterns, and system performance bottlenecks can be revealed, providing support for business optimization and decision-making. Based on the results of data analysis, enterprises can more accurately formulate market strategies, optimize product functions, and improve user experience, thereby gaining a favorable position in fierce market competition.

[0037] In this embodiment, the configuration module 1 is further configured to: Obtain the new business code; deploy the new business code to the first target server.

[0038] In this embodiment, by using an automatic data tracking server forwarding system, adding new services to an already configured forwarding system is very simple. After the service provider develops and completes the data reception and processing based on the requested data address and parameters, the service is deployed to the new server. At this point, it is only necessary to append the new server address to the original configuration interface forwarding server address in the system. The original service business does not need to be modified and is unaffected, providing users with a more convenient and simple operation and configuration method.

[0039] like Figure 4 The diagram shown is a schematic of the routing address hierarchy classification interface request server configuration forwarding in this application.

[0040] In this embodiment, the configuration module 1 is further configured as follows: Based on the routing address information, deploy the business code on the server.

[0041] The request forwarding module 3 is further configured as follows: Based on the routing address information, a third target server is determined, and the service request instruction is sent to the third target server.

[0042] Specifically, by entering a specific, complete URL address or API endpoint into the system and specifying the target server service to which the request should be forwarded, the system automatically queries the configuration table when it receives a request matching that complete address. It then finds the corresponding target server and forwards the request to that server for processing. After processing the request, the server returns a response. Alternatively, a device service protocol module (such as HTTP, HTTPS, etc.) can be selected, specifying the target server service to which all address requests under that module should be forwarded. When the system receives any address request belonging to that protocol module, it automatically queries the configuration table, finds the corresponding target server, and forwards the request to that server. The server processes the request content and returns a response.

[0043] Furthermore, by selecting a device and specifying the target server to which all requests for that device should be forwarded, the system will automatically forward the request to any of the device's interface addresses, regardless of which interface address is being requested. Upon receiving the request, the server processes it according to the request content and returns the corresponding response. Alternatively, by entering a domain name into the system and specifying the target server to which all requests under that domain should be forwarded, the system will only check the domain name portion of the calling interface when it receives any request belonging to that domain, without considering the specific path or query parameters. The system will find the corresponding target server based on the configuration table and forward the request to that server for processing. After processing the request, the server will return a response to the requester.

[0044] This application configures the system to deploy business code on the server using routing address information. This allows for precise forwarding of requests at different granularities, meeting diverse needs across various business scenarios. Administrators can flexibly adjust configurations based on business requirements, changing request forwarding rules without modifying code, thus reducing system maintenance complexity. Through reasonable request distribution, the load on different servers can be balanced, avoiding single points of failure and improving overall system availability and performance. The ability to directly forward all requests under a specific domain simplifies the management of large-scale, complex business systems, enabling the system to better adapt to ever-changing business needs.

[0045] This application provides an automatic data forwarding system. First, different business systems develop interface services according to defined standards and parameters, process data within their business logic, and deploy different business code on one or more services. The system configures the server services that forward requests to the corresponding request addresses of each interface or service, and configures one of these services to handle the response. After configuration, when a device or user requests an interface service, the system automatically forwards the request to all configured server services according to the configuration and receives a data response from the responding server.

[0046] This application provides an automatic tracking data forwarding system, which has the following advantages: 1. The data forwarding server is easy to configure. Configuring the data forwarding server only requires a single entry address and the addresses and instances of all the deployment servers that need to be configured. After configuration, all services can receive data requests.

[0047] 2. It can be configured with different services on multiple servers, and can freely expand services and server deployment.

[0048] 3. Independent business functions with strong versatility. Different business functions on the server do not need to use the same code, allowing for differentiated development. For the same data request, only the original parameters need to be used to make the request and obtain the requested data. Business functions are independent of each other.

[0049] 4. Resolves the issue of different services being able to obtain requested data. When firmware cannot be rapidly iterated and modified for different services, the current data forwarding method only allows waiting for the next firmware upgrade, which is time-consuming and inefficient. With forwarding configuration, new services are developed and deployed using the original interface's request address and parameters. After configuring the server address of the newly deployed service in the system, data will automatically track and flow to the new service without affecting the existing server's operations, minimizing impact and improving efficiency.

[0050] A second aspect of this application provides a server forwarding method for automatically tracking data, applied to a server forwarding system for automatically tracking data as described in any of the above embodiments, comprising: Deploy the business logic on the server; each piece of business logic corresponds to a specific business function for response. Once the business code is deployed, the first target server is obtained; Receive service request instructions; According to the configuration information, the service request instruction is sent to the first target server; Receive the response data after the first target server responds.

[0051] It is worth noting that the effects of the above method embodiments can be found in the effects of the above system embodiments, and will not be repeated here.

[0052] In this embodiment, the method further includes: Deploy business code on the server according to the routing address of the service request instruction, so that the routing address of the business code is consistent with the routing address of the service request instruction; Determine whether the routing address of the business code is consistent with the routing address of the service request instruction; If the routing address of the business code is consistent with the routing address of the service request instruction, then the service request instruction is responded to using the business code of the corresponding second target server; If the routing address of the business code does not match the routing address of the service request instruction, then the matching is performed according to the hierarchy of the routing addresses until the routing address of the business code matches the routing address of the service request instruction, and the service request instruction is responded to using the business code of the corresponding second target server.

[0053] It is worth noting that the effects of the above method embodiments can be found in the effects of the above system embodiments, and will not be repeated here.

[0054] The above detailed embodiments further illustrate the purpose, technical solution, and beneficial effects of the embodiments of this application. It should be understood that the above are merely specific embodiments of the embodiments of this application and are not intended to limit the protection scope of the embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solutions of the embodiments of this application should be included within the protection scope of the embodiments of this application.

Claims

1. A server forwarding system for automatically tracking data, characterized in that, include: Configuration module (1), request receiving module (2), request forwarding module (3), and response processing module (4); The configuration module (1) is configured as follows: Deploy the business logic on the server; each piece of business logic corresponds to a specific business function for response. Once the business code is deployed, the first target server is obtained; The request receiving module (2) is configured as follows: Receive service request instructions; The request forwarding module (3) is configured as follows: According to the configuration information of the configuration module (1), the service request instruction is sent to the first target server; The response processing module (4) is configured as follows: Receive the response data after the first target server responds.

2. The server forwarding system for automatic data tracking according to claim 1, characterized in that, The configuration module (1) is further configured as follows: Deploy business code on the server according to the routing address of the service request instruction, so that the routing address of the business code is consistent with the routing address of the service request instruction; The request forwarding module (3) is further configured as follows: Determine whether the routing address of the business code is consistent with the routing address of the service request instruction; If the routing address of the business code is the same as the routing address of the service request instruction, then the service request instruction is responded to using the business code of the corresponding second target server.

3. The server forwarding system for automatic data tracking according to claim 2, characterized in that, The request forwarding module (3) is also configured to: If the routing address of the business code does not match the routing address of the service request instruction, then the matching is performed according to the hierarchy of the routing addresses until the routing address of the business code matches the routing address of the service request instruction, and the service request instruction is responded to using the business code of the corresponding second target server.

4. The server forwarding system for automatic data tracking according to claim 1, characterized in that, The request forwarding module (3) is also configured to: Once the service request instruction has been responded to, the response result will be stored in the database.

5. The server forwarding system for automatic data tracking according to claim 1, characterized in that, The configuration module (1) is further configured as follows: Get the new business code; Deploy the newly added business code to the first target server.

6. The server forwarding system for automatic data tracking according to claim 1, characterized in that, The configuration module (1) is further configured as follows: Deploy the business logic code on the server based on the routing address information; The request forwarding module (3) is further configured as follows: Based on the routing address information, a third target server is determined, and the service request instruction is sent to the third target server.

7. A server forwarding method for automatically tracking data, applied to a server forwarding system for automatically tracking data as described in any one of claims 1 to 6, characterized in that, include: Deploy the business code on the server; One of the aforementioned business codes corresponds to one business function for response; Once the business code is deployed, the first target server is obtained; Receive service request instructions; According to the configuration information, the service request instruction is sent to the first target server; Receive the response data after the first target server responds.

8. The server forwarding method for automatically tracking data according to claim 7, characterized in that, The method further includes: Deploy business code on the server according to the routing address of the service request instruction, so that the routing address of the business code is consistent with the routing address of the service request instruction; Determine whether the routing address of the business code is consistent with the routing address of the service request instruction; If the routing address of the business code is consistent with the routing address of the service request instruction, then the service request instruction is responded to using the business code of the corresponding second target server; If the routing address of the business code does not match the routing address of the service request instruction, then the matching is performed according to the hierarchy of the routing addresses until the routing address of the business code matches the routing address of the service request instruction, and the service request instruction is responded to using the business code of the corresponding second target server.