Network request control method and apparatus, storage medium, and electronic device

By implementing a control method for receiving and matching target requests, the system resolved anomalies caused by high access volumes to airline business systems, thereby improving stability and efficiency.

CN119676310BActive Publication Date: 2025-11-04TRAVELSKY TECHNOLOGY LIMITED
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411782623.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-11-04
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

When airlines process user requests through their business systems, the high volume and continuous access cause anomalies in user order information during system maintenance, requiring manual handling and compensation, which leads to low work efficiency.

Method used

By receiving a target request, determining its business function, and reading the control information in memory, including the first switch information and target rules, matching and forwarding it to the target business system, the first switch information is used to indicate whether to control the request, and the target rules determine the processing system, thereby achieving stable control of the business system.

Benefits of technology

It improved the stability of the business system during production, prevented errors in user data, and increased the work efficiency of airline staff.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676310B_ABST
    Figure CN119676310B_ABST
Patent Text Reader

Abstract

The application discloses a network request control method and device, a storage medium and an electronic equipment. The method is applied to the field of network traffic control, and comprises the following steps: receiving a target request, and determining a target service function requested by the target request; reading control information in a memory; in the case that first switch information indicates that the target request is controlled, matching the first rule with the target request to obtain a matching result; and determining a target service system according to the matching result, and controlling the target request to be forwarded to the target service system. Through the application, the problem that the work efficiency of an airline company is low is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network traffic processing, and more specifically, to a method, apparatus, storage medium, and electronic device for controlling network requests. Background Technology

[0002] A Computer Reservation System (CRS) is an electronic system that provides agents with services such as flight availability inquiries, flight segment sales, reservation records, electronic ticket booking, and travel product information. The Open Order Management System is a key module within the Open Agent Sales System, handling important operations such as reservation sales, reservation management, reservation ticketing, and reservation changes. In particular, the Open Order Management System is responsible for generating and updating order data.

[0003] To ensure transparency for agents and airlines during the deployment and migration of the open order management system, traffic control is necessary during the switch. Typically, this is achieved by modifying configuration files. However, the open order management system's business functions are complex; agent control alone requires thousands of configuration entries, and differentiation between interfaces and methods is also necessary. Therefore, controlling traffic through configuration file modification makes maintenance difficult. Furthermore, each configuration file modification requires a service restart, while deployment needs to be done in multiple batches within a short period, making implementation challenging. Even using hot-reloading to modify configuration files cannot fundamentally solve the problem of accurately handling user requests during deployment.

[0004] For large systems like open order management systems that require uninterrupted business and have very high access volumes, if a new version has an online problem, even if the system switches back to the old version as quickly as possible, it may still cause errors in thousands of order data entries. These erroneous data entries usually need to be manually processed before passengers can proceed with their operations. In some cases, data errors that are closely related to departure operations may cause passengers to find that they cannot check in after arriving at the airport, thus affecting their travel and causing losses to the airline's interests.

[0005] There is currently no effective solution to the problem that airlines face when processing user requests through their business systems. Due to high and continuous access volumes, abnormal user order information occurs during system maintenance, requiring manual processing for compensation and resulting in low work efficiency. Summary of the Invention

[0006] The main objective of this application is to provide a method, apparatus, storage medium, and electronic device for controlling network requests, in order to solve the problem in the related art where, due to high and uninterrupted access volume, airlines experience abnormalities in user order information during business system maintenance, requiring manual processing for compensation, which leads to low work efficiency for airlines.

[0007] To achieve the above objectives, according to one aspect of this application, a method for controlling network requests is provided. The method includes: receiving a target request and determining a target service function implemented by the target request; reading control information in memory, wherein the control information includes at least: first switch information and a target rule, the first switch information indicating whether to control the target request, and the target rule determining a target service system for processing the target request; when the first switch information indicates control of the target request, matching the first rule with the target request to obtain a matching result, wherein the first rule is the rule corresponding to the target service function in the target rule; determining the target service system based on the matching result, and controlling the forwarding of the target request to the target service system.

[0008] Furthermore, the control information includes: second switch information, which represents a business system in production state. Before matching the first rule with the target request to obtain a matching result, the method further includes: determining the business system in production state based on the second switch information, wherein the business system includes at least: a first business system and a second business system, the first business system and the second business system performing different businesses; and determining the target rule based on the rule corresponding to the business system in production state.

[0009] Further, matching the first rule with the target request to obtain a matching result includes: determining the first rule in the target rule according to the target business function; matching the field information of each field in the target request with the first rule respectively to obtain a matching first rule; generating the matching result according to the matching first rule, wherein the matching result includes the first rule that matches the field information of the target request.

[0010] Further, determining the target business system based on the matching result and controlling the forwarding of the target request to the target business system includes: if the matching result contains a rule corresponding to the first business system and the second switch information indicates that the first business system is in production, then the first business system is designated as the target business system, and the target request is sent to the first business system; if the matching result contains a rule corresponding to the second business system and the second switch information indicates that the second business system is in production, then the second business system is designated as the target business system, and the target request is sent to the second business system.

[0011] Furthermore, the target request is sent to at least one of the following business systems: the first business system and the third business system. Before matching the first rule with the target request to obtain a matching result, the method further includes: sending the target request to the third business system when the first switch information indicates that the target request is not controlled, or when the first switch information indicates that the target request is controlled, and the second switch information indicates that the second business system is not in production status; and when the first switch information indicates that the target request is controlled, the second switch information indicates that the second business system is in production status, and the matching result does not contain a rule corresponding to the first business system, the third business system is designated as the target business system, and the target request is sent to the third business system.

[0012] Furthermore, before reading the control information in memory, the method further includes: receiving a target message, wherein the target message is a message for processing the target rule; verifying the field information of the target rule in the target message to obtain a verification result; if the verification result is successful, converting the target rule in the target message into a preset format to obtain a processed target rule; loading the processed target rule into memory and storing it in the target database.

[0013] Furthermore, before receiving the target message, the method further includes: for each business system, determining the business functions of the business system based on the business requirements of the business system; configuring the processing scope of each business function, configuring the users of each business function, and configuring the processing rules of each business function to obtain the target rules; and generating the target message based on the target rules.

[0014] To achieve the above objectives, according to another aspect of this application, a network request control apparatus is provided, comprising: a first receiving unit, configured to receive a target request and determine a target service function implemented by the target request; a reading unit, configured to read control information in memory, wherein the control information includes at least: first switch information and a target rule, the first switch information indicating whether to control the target request, and the target rule determining a target service system for processing the target request; a matching unit, configured to match the first rule and the target request when the first switch information indicates that the target request should be controlled, to obtain a matching result, wherein the first rule is the rule corresponding to the target service function in the target rule; and a first determining unit, configured to determine the target service system based on the matching result and control the forwarding of the target request to the target service system.

[0015] Further, the control information includes: second switch information, the second switch information representing a business system in production state; the device further includes: a second determining unit, configured to determine a business system in production state based on the second switch information before matching the first rule and the target request to obtain a matching result, wherein the business system includes at least: a first business system and a second business system, the first business system and the second business system performing different businesses; and a third determining unit, configured to determine the target rule based on the rule corresponding to the business system in production state.

[0016] Further, the matching unit includes: a determining subunit, configured to determine the first rule in the target rule based on the target business function; a matching subunit, configured to match the field information of each field in the target request with the first rule respectively to obtain a matching first rule; and a generating subunit, configured to generate the matching result based on the matching first rule, wherein the matching result includes the first rule that matches the field information of the target request.

[0017] Further, the first determining unit includes: a first sending subunit, configured to, when the matching result contains a rule corresponding to the first business system and the second switch information indicates that the first business system is in production, designate the first business system as the target business system and send the target request to the first business system; and a second sending subunit, configured to, when the matching result contains a rule corresponding to the second business system and the second switch information indicates that the second business system is in production, designate the second business system as the target business system and send the target request to the second business system.

[0018] Furthermore, the target request is sent to at least one of the following business systems: the first business system and the third business system. The apparatus further includes: a first sending unit, configured to send the target request to the third business system before matching the first rule with the target request to obtain a matching result, provided that the first switch information indicates that the target request is not controlled, or the first switch information indicates that the target request is controlled, and the second switch information indicates that the second business system is not in a production state; and a second sending unit, configured to use the third business system as the target business system and send the target request to the third business system when the first switch information indicates that the target request is controlled, the second switch information indicates that the second business system is in a production state, and the matching result does not contain a rule corresponding to the first business system.

[0019] Furthermore, the device further includes: a second receiving unit, configured to receive a target message before reading control information in memory, wherein the target message is a message for processing the target rule; a verification unit, configured to verify the field information of the target rule in the target message and obtain a verification result; a processing unit, configured to convert the target rule in the target message into a preset format to obtain a processed target rule if the verification result is successful; and a loading unit, configured to load the processed target rule into memory and store it in the target database.

[0020] Furthermore, the apparatus further includes: a fourth determining unit, configured to determine the business functions of each business system based on the business requirements of the business system before receiving the target message; a configuration unit, configured to configure the processing scope of each business function, the users of each business function, and the processing rules of each business function to obtain the target rules; and a generating unit, configured to generate the target message based on the target rules.

[0021] To achieve the above objectives, according to one aspect of this application, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the network request control method described in any of the above-mentioned embodiments, and the computer program, when executed by a processor, implements the steps of the network request control method described in various embodiments of this application.

[0022] To achieve the above objectives, according to one aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including stored computer instructions, wherein, when the computer instructions are executed by a processor, the control method for network requests described in any one of the above claims is implemented.

[0023] To achieve the above objectives, according to one aspect of this application, an electronic device is provided, including one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the control method for network requests described in any of the above.

[0024] This application employs the following steps: receiving a target request and determining the target business function implemented by the target request; reading control information from memory, wherein the control information includes at least: first switch information and target rules, the first switch information indicating whether to control the target request, and the target rules determining the target business system for processing the target request; when the first switch information indicates that the target request should be controlled, matching the first rule with the target request to obtain a matching result, wherein the first rule is the rule corresponding to the target business function in the target rules; determining the target business system based on the matching result, and controlling the forwarding of the target request to the target business system. This solves the problem in related technologies where, due to high and uninterrupted access volume, airlines experience abnormal user order information during business system maintenance when processing user requests through business systems, requiring manual processing for compensation, resulting in low airline work efficiency. By defining control information that includes first switch information and deployment rules, the system can match target requests with deployment rules based on the control information during business system deployment. The target requests are then processed based on the matching results, thereby controlling requests in the network traffic of the switched business system. This improves the stability of the business system during deployment, ensuring the stability of the business system switchover and preventing user data errors that could reduce the work efficiency of airline staff during the switchover. Ultimately, this improves the work efficiency of airline staff. Attached Figure Description

[0025] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0026] Figure 1 This is a flowchart of a network request control method according to Embodiment 1 of this application;

[0027] Figure 2 This is a schematic diagram of an optional network request control method provided according to Embodiment 1 of this application;

[0028] Figure 3 This is a schematic diagram of a network request control device according to Embodiment 2 of this application;

[0029] Figure 4 This is a schematic diagram of a network request control electronic device provided according to Embodiment 5 of this application. Detailed Implementation

[0030] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0031] It should be noted that the user information (including but not limited to user device information, user personal information, collected data, used data, generated data, processed data, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, collected information, used information, generated information, processed information, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data all comply with the relevant laws, regulations, and standards of the relevant countries and regions, and necessary confidentiality measures have been taken. These measures do not violate public order and good morals, and corresponding operation entry points are provided for users to choose to authorize or refuse. For example, this system has interfaces with relevant users or organizations. Before obtaining relevant information, a request to obtain the information needs to be sent to the aforementioned user or organization through the interface, and the relevant information is obtained only after receiving consent from the aforementioned user or organization.

[0032] It should be noted that this application provides users with a corresponding entry point for choosing to agree to or reject the automated decision-making results; if the user chooses to reject, the process will proceed to the expert decision-making process.

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

[0034] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0035] Example 1

[0036] The present invention will now be described in conjunction with preferred implementation steps. Figure 1 This is a flowchart of a network request control method according to Embodiment 1 of this application, as shown below. Figure 1 As shown, the method includes the following steps:

[0037] Step S101: Receive the target request and determine the target business function that the target request requests to implement.

[0038] The network request control method provided in Embodiment 1 of this application can be applied to the target application service of an airline. The target application service is responsible for controlling user-initiated network requests in the network traffic received by the airline, sending the network requests to the business system that processes them. The business system involved in Embodiment 1 includes, but is not limited to, an open order management system, a host system, and a verification system. The open order management system refers to the business system that provides external agents with business functions related to reservation sales, reservation management, reservation ticketing, and reservation changes. The verification system is the business system that verifies the processing results of user requests in the network traffic by the open order management system. The host system is the business system that can correctly execute user requests, but some business functions in the host system are not open to agents. The target application service of the airline can control network requests and forward them to the corresponding business system.

[0039] In this first embodiment, the target request refers to a user-initiated request in the network traffic received by the airline, including but not limited to requests for seat reservations, ticket purchases, and fare inquiries. The target business function refers to the business function that the target request needs to implement. For example, the business function that a fare inquiry request needs to implement includes calculating the fare for a certain flight segment based on the information selected by the user in the request and returning the calculation result to the user.

[0040] To fulfill a user's target request, the target business function that the user needs to implement needs to be determined based on the request content. Then, the target request is sent to the corresponding target business system according to the target business function. The target business system processes the target request, obtains the processing result, and returns the processing result to the user corresponding to the target request, thus completing the user's target request.

[0041] Step S102: Read the control information in memory. The control information includes at least: first switch information and target rules. The first switch information is used to indicate whether to control the target request, and the target rules are used to determine the target business system that processes the target request.

[0042] In this first embodiment, the control of user-initiated target requests can be divided into at least two levels: The first level, namely the first switch information mentioned above, is used to determine whether to control the target request. The scope of control includes service call requests and message requests. The first switch information includes a first state and a second state. The first state indicates that the target request is processed, and the second state indicates that the target request is not processed. At the same time, this switch also undertakes the function of switching back to the host system for service call requests and message requests. The second level consists of production rules and verification rules, namely the target rules mentioned above. Production rules refer to the rules for sending target requests to the open order management system, and verification rules refer to the rules for sending target requests to the verification system. Production rules and verification rules can be configured according to different business functions. For example, for the production rules of the order creation function, passenger-related rules such as whether to process multi-person requests or group requests can be configured; flight-related rules such as the scope of flights and airlines can also be configured; at the same time, the service item type to be processed and the number of requests to be processed per day can be set.

[0043] By acquiring the control information stored in memory, the received target request can be controlled according to the first switch information and target rules in the control information. For example, the target request can be sent to the open order management system, or to the verification system, or the target request can be discarded directly.

[0044] Step S103: When the first switch information indicates that the target request is controlled, the first rule and the target request are matched to obtain the matching result, wherein the first rule is the rule corresponding to the target business function in the target rules.

[0045] In this first embodiment, it is necessary to match the first rule corresponding to the target business function in the target rule with the request content in the target request to obtain the matching result, and then control the target request based on the matching result.

[0046] It is important to note that after receiving the target request, the target application service is in a running state, and its memory already contains all the target rules required by the target application service. Each business function of the target application service has its own control module, which stores the control information for each business function.

[0047] Step S104: Determine the target business system based on the matching results, and control the forwarding of the target request to the target business system.

[0048] In this first embodiment, in order to complete the target request initiated by the user, it is necessary to determine the target business system of the target request based on the matching result, that is, the target business system mentioned above. The target request is sent to the target business system, the target business system processes the target request initiated by the user, obtains the processing result, and returns it to the user.

[0049] In summary, the network request control method provided in Embodiment 1 of this application receives a target request and determines the target business function implemented by the target request; reads control information in memory, wherein the control information includes at least: first switch information and target rules, the first switch information is used to indicate whether to control the target request, and the target rules are used to determine the target business system for processing the target request; when the first switch information indicates that the target request should be controlled, the first rule and the target request are matched to obtain a matching result, wherein the first rule is the rule corresponding to the target business function in the target rules; the target business system is determined based on the matching result, and the target request is forwarded to the target business system. This solves the problem in related technologies where, when airlines process user requests through business systems, the high and uninterrupted access volume causes anomalies in user order information during business system maintenance, requiring manual processing for compensation, resulting in low work efficiency for airlines. By defining control information that includes first switch information and deployment rules, the system can match target requests with deployment rules based on the control information during business system deployment. The target requests are then processed based on the matching results, thereby controlling requests in the network traffic of the switched business system. This improves the stability of the business system during deployment, ensuring the stability of the business system switchover and preventing user data errors that could reduce the work efficiency of airline staff during the switchover. Ultimately, this improves the work efficiency of airline staff.

[0050] Optionally, in the network request control method provided in Embodiment 1 of this application, the control information includes: second switch information, which represents a business system in production state. Before matching the first rule and the target request to obtain a matching result, the method further includes: determining the business system in production state based on the second switch information, wherein the business system includes at least: a first business system and a second business system, and the first business system and the second business system perform different businesses; and determining the target rule based on the rule corresponding to the business system in production state.

[0051] In this first embodiment, the control information may further include second switch information, which represents the business system in production state, thereby enabling the determination of the target business system for forwarding the target request based on the first switch information, the second switch information, and the target rule.

[0052] In an optional embodiment, the status corresponding to the second switch information can be used to determine whether the business system put into production includes an open order management system (i.e., the first business system mentioned above) and a verification system (i.e., the second business system mentioned above). The open order management system refers to the business system that provides external agents with business functions such as pre-order sales, pre-order management, pre-order ticketing, and pre-order changes. The verification system refers to the business system that verifies the processing results of the open order management system for user requests in network traffic.

[0053] The second switch information can include four states: State 1: Both the open order management system and the request verification system are in a non-production state (i.e., the production state mentioned above), meaning the open order management system is not in production and target requests are not verified. State 2: The open order management system is in production, but the verification system is in a non-production state, meaning the open order management system is in production but target requests are not verified. State 3: The open order management system is in a non-production state, but the verification system is in production, meaning the open order management system is not in production and target requests are verified. State 4: Both the open order management system and the request verification system are in production, meaning the open order management system is in production and target requests are verified. State 1 is a fallback state from State 3, and State 2 is a fallback state from State 4. The fallback state indicates that the verification system needs to be temporarily shut down due to a problem.

[0054] After determining the second switch information, the destination business system for forwarding the target request can be determined. For example, if the second switch information is in the first state, the target request is discarded and not forwarded; if the second switch information is in the second state, it is determined that the target request can be forwarded to the open order management system; if the second switch information is in the third state, it is determined that the target request can be forwarded to the verification system; if the second switch information is in the fourth state, it is determined that the target request can be forwarded to both the open order management system and the verification system.

[0055] After determining the target business system for forwarding the target request, the target rules are determined based on the business systems included in the target business system. For example, if the target business system includes an open order management system, the rule corresponding to the open order management system is determined as the target rule; if the target business system includes a verification system, the rule corresponding to the verification system is determined as the target rule; if the target business system includes both an open order management system and a verification system, the rules corresponding to both the open order management system and the verification system are determined as the target rules.

[0056] Optionally, in the network request control method provided in Embodiment 1 of this application, matching the first rule with the target request to obtain a matching result includes: determining the first rule in the target rule according to the target business function; matching the field information of each field in the target request with the first rule to obtain the matching first rule; and generating a matching result based on the matching first rule, wherein the matching result includes the first rule that matches the field information of the target request.

[0057] In this first embodiment, in order to determine the target business system of the target request, the target rules in memory can be matched with the field information of each field in the target request, and the target business system of the target request can be determined based on the matching results.

[0058] In one optional embodiment, the field value of each field in the target request is matched one by one with the field value of the target rule, and all rules in the target rule are matched one by one. If a field in the target request matches a rule in the target rule, it is determined that the target request needs to be forwarded. It should be noted that all rules matched by the target request need to be counted and recorded in the matching result. If the target request does not match any target rule, the matching result can be empty.

[0059] It should be noted that if the target rule includes rules related to the number of production units, then the target requests that hit the target rule will be counted.

[0060] Optionally, in the network request control method provided in Embodiment 1 of this application, determining the target business system based on the matching result and controlling the forwarding of the target request to the target business system includes: if the matching result contains a rule corresponding to the first business system and the second switch information indicates that the first business system is in production status, then the first business system is taken as the target business system and the target request is sent to the first business system; if the matching result contains a rule corresponding to the second business system and the second switch information indicates that the second business system is in production status, then the second business system is taken as the target business system and the target request is sent to the second business system.

[0061] In this first embodiment, in order to correctly forward the target request, it is necessary to determine the target business system of the target request based on the matching results, and then forward the target request.

[0062] In one optional embodiment, if the matching rule is empty, the target request is discarded and no processing is performed; if the matching result contains a matched target rule, and the matched target rule belongs to the rule corresponding to the first business system, and the first business system is determined to be in production state according to the second switch information, then the first business system is taken as the target business system, and the target request is sent to the target first business system; if the matching result contains a matched target rule, and the matched target rule belongs to the rule corresponding to the second business system, and the second business system is determined to be in production state according to the second switch information, then the second business system is taken as the target business system, and the target request is sent to the target second business system.

[0063] For example, if the second switch information is in the fourth state, and the matching result contains the second rule and the third rule, and the second rule and the third rule both belong to the rules corresponding to the second business system, then the second business system is taken as the target business system, and the target request is sent to the second business system; if the second switch information is in the fourth state, and the matching result contains the second rule and the third rule, and the second rule belongs to the rules corresponding to the first business system, and the third rule belongs to the rules corresponding to the second business system, then the first business system and the second business system are both taken as target business systems, and the target request is sent to both the first business system and the second business system.

[0064] Optionally, in the network request control method provided in Embodiment 1 of this application, the target request is sent to at least one of the following business systems: a first business system and a third business system. Before matching the first rule and the target request to obtain a matching result, the method further includes: sending the target request to the third business system when the first switch information indicates that the target request is not controlled, or when the first switch information indicates that the target request is controlled and the second switch information indicates that the second business system is not in production status; and when the first switch information indicates that the target request is controlled, the second switch information indicates that the second business system is in production status, and the matching result does not contain a rule corresponding to the first business system, using the third business system as the target business system and sending the target request to the third business system.

[0065] In this first embodiment, in order to ensure that the target request initiated by the user is processed and not missed, the target request needs to be sent to at least the open order management system (i.e., the first business system mentioned above) and the host system (i.e., the third business system mentioned above). That is, if the target request is not sent to the first business system, the target request will be sent to the third business system.

[0066] In an optional embodiment, the target request is not sent to the first business system in the following situations: a first switch information indicates that the target request is not controlled; a first switch information indicates that the target request is controlled, and a second switch information indicates that the second business system is not in production; a first switch information indicates that the target request is controlled, and a second switch information indicates that the second business system is in production, and the matched target rule contained in the matching result does not belong to the rule corresponding to the first business system. In the above situations, the target request is sent to the third business system.

[0067] Optionally, in the network request control method provided in Embodiment 1 of this application, before reading the control information in memory, the method further includes: receiving a target message, wherein the target message is a message for processing target rules; verifying the field information of the target rules in the target message to obtain a verification result; if the verification result is successful, converting the target rules in the target message into a preset format to obtain processed target rules; loading the processed target rules into memory and storing them in the target database.

[0068] In this first embodiment, in order to control network requests according to target rules, target rules can be determined based on the received target messages, loaded into memory, and stored in the target database so that when a target request is received later, the target rules in memory can be used for matching.

[0069] In one optional embodiment, the received target rules can be validated. For each received target rule, if the business field input in the target rule does not conform to the preset rules (for example, the specific value of a certain business field exceeds the range, or the string of a certain business field does not belong to the strings contained in the preset string set, or the business field does not belong to the fields involved in the production business function, etc.), then the target rule is rejected and will not be integrated with the existing business functions and rules.

[0070] Next, the validated target rules are integrated into the database, specifically stored in the target database, which can be a Redis database. It's important to note that besides processing target rules based on received target messages, existing target rules can also be modified, deleted, and queried. Modified or deleted target rules should be integrated with existing rules in the target database and rewritten into it. The target database should contain complete sets of rules already in use, ensuring that the full rule scope is still accessible upon service restart.

[0071] Optionally, in the network request control method provided in Embodiment 1 of this application, before receiving the target message, the method further includes: for each business system, determining the business function of the business system according to the business requirements of the business system; configuring the processing scope of each business function, configuring the user of each business function, and configuring the processing rules of each business function to obtain the target rule; and generating the target message according to the target rule.

[0072] In this first embodiment, in order to control user requests in network traffic, target rules for forwarding target requests can be formulated based on the characteristics of the business functions of the business system. Target messages are then generated based on the target rules, and methods for filtering network requests are set based on the target messages, thereby achieving the purpose of controlling network requests.

[0073] In an optional embodiment, based on the functional characteristics of the open order management system, the business functions used by each business system during the production deployment process, as well as the users preparing to use these business functions, can be extracted from the business requirements of each business system. For example, the business functions deployed in the first system, and the users using each business function, can be determined based on the business requirements of the open order management system (i.e., the first system described above). Furthermore, multi-user configurations, detailed network request information for each business function, or the number of requests for each business function can be configured.

[0074] Before production begins, the production team needs to confirm the business functions and processing scope rules for the current production run. After confirmation, they need to organize the processing scope, users, and processing rules for each business function to obtain the target rules mentioned above. Finally, the target rules are converted according to the message data format to generate the target message mentioned above.

[0075] Optionally, in this first embodiment, the network request control method of this application can be applied to the target application service, and the structure of the target application service can be as follows: Figure 2 As shown, the target application service includes a rule input module 201, a rule management module 202, a rule publishing module 203, a rule receiving module 204, and a request filtering module 205.

[0076] The rule input module 201 manages the input of production deployment rules. Based on the business requirements of the open order management system, it extracts the business functions that can be controlled during production deployment and the users who will use these functions. The rule input module 201 allows configuration of multiple users for a single business function, configuration of detailed requests for that function, and configuration of the number of requests processed by that function. Before production deployment, the deployment personnel confirm the functions and processing scope rules for that deployment and input them into the rule input module 201. The rule input module 201 receives the input information, performs basic processing, and transforms the input into target messages before sending them to the rule management module 202.

[0077] The rule management module 202 manages and stores the target rules (including deployment rules and verification rules) for various business functions. The rule management module 202 validates received target messages, provides error responses for inputs outside the scope of the business function, and extracts relevant information about the deployment business function and processing scope from target messages that can be processed within the business function, organizes them into target rules in a unified format, and stores them in the target database. The rule management module 202 also allows for adding, deleting, and modifying target rules, and provides a query service for existing target rules. During deployment, operators can query existing target rules, delete unnecessary target rules, modify existing target rules, or add new target rules.

[0078] The rule publishing module 203 is a real-time synchronization module for target rule modifications. After staff perform operations such as adding, modifying, or deleting target rules, and the rule management module 202 updates the relevant business function rule in the database, the rule publishing module 203 organizes the operations performed by the rule management module 202 into messages that the rule receiving module 204 can process and publishes them to a designated location (e.g., memory).

[0079] The rule receiving module 204 manages the received target rules and includes two functions: actively loading target rules at startup, and receiving update messages of target rules when they are modified, as well as modifying target rules in memory. The rule receiving module 204 is embedded in the open order management system. At application startup, it reads and writes the already set target rules; when it receives messages indicating the addition, deletion, or modification of target rules, it processes and verifies the received messages, accepting those applicable to the current system and discarding those not; and based on the received messages, it processes the target rules already in the open order management system, including adding, deleting, and modifying them.

[0080] The request filtering module 205 performs judgments on target rules. Upon receiving a new business request, the request filtering module 205 determines whether the request should be processed and verified by the open order management system. For example, when a new target request is received, the request filtering module 205 identifies the target business function of the request and matches it with the corresponding deployment and verification rules in the system. It compares the target request with each existing deployment and verification rule in memory, determining whether the target request belongs to a deployable business function and user based on the deployment and verification rules. If so, the target request is sent to the open order management system for processing. Requests that are not deployed after matching are forwarded to the host system for processing. Requests that can be verified are processed according to the verification rules and simultaneously sent to the verification system for verification.

[0081] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0082] Example 2

[0083] This application also provides a network request control device in Embodiment 2. It should be noted that the network request control device in Embodiment 2 can be used to execute the network request control method provided in Embodiment 1. The network request control device provided in Embodiment 2 is described below.

[0084] Figure 3 This is a schematic diagram of a control device for a network request according to Embodiment 2 of this application. Figure 3 As shown, the device includes: a first receiving unit 301, a reading unit 302, a matching unit 303, and a first determining unit 304.

[0085] Specifically, the first receiving unit 301 is used to receive the target request and determine the target business function to be implemented by the target request.

[0086] The reading unit 302 is used to read control information in memory, wherein the control information includes at least: first switch information and target rules, the first switch information is used to indicate whether to control the target request, and the target rules are used to determine the target business system that processes the target request.

[0087] The matching unit 303 is used to match the first rule and the target request when the first switch information indicates that the target request is controlled, and to obtain a matching result, wherein the first rule is the rule corresponding to the target business function in the target rules.

[0088] The first determining unit 304 is used to determine the target business system based on the matching result and control the forwarding of the target request to the target business system.

[0089] The network request control device provided in Embodiment 2 of this application receives a target request through a first receiving unit 301 and determines the target business function implemented by the target request; a reading unit 302 reads control information in memory, wherein the control information includes at least: first switch information and target rules, the first switch information is used to indicate whether to control the target request, and the target rules are used to determine the target business system for processing the target request; a matching unit 303, when the first switch information indicates that the target request should be controlled, matches the first rule and the target request to obtain a matching result, wherein the first rule is the rule corresponding to the target business function in the target rules; a first determining unit 304 determines the target business system based on the matching result and controls the target request to be forwarded to the target business system. This solves the problem in the related technology that when airlines process user requests through business systems, due to high access volume and uninterrupted access, abnormal user order information occurs during business system maintenance, requiring manual processing for compensation, resulting in low work efficiency for airlines. By defining control information that includes first switch information and deployment rules, the system can match target requests with deployment rules based on the control information during business system deployment. The target requests are then processed based on the matching results, thereby controlling requests in the network traffic of the switched business system. This improves the stability of the business system during deployment, ensuring the stability of the business system switchover and preventing user data errors that could reduce the work efficiency of airline staff during the switchover. Ultimately, this improves the work efficiency of airline staff.

[0090] Optionally, in the network request control device provided in Embodiment 2 of this application, the control information includes: second switch information, which represents a business system in production state. The device further includes: a second determining unit, configured to determine the business system in production state based on the second switch information before matching the first rule and the target request to obtain a matching result, wherein the business system includes at least: a first business system and a second business system, and the first business system and the second business system perform different services; and a third determining unit, configured to determine the target rule based on the rule corresponding to the business system in production state.

[0091] Optionally, in the network request control device provided in Embodiment 2 of this application, the matching unit 303 includes: a determining subunit, used to determine a first rule in the target rules based on the target service function; a matching subunit, used to match the field information of each field in the target request with the first rule respectively to obtain the matching first rule; and a generating subunit, used to generate a matching result based on the matching first rule, wherein the matching result includes the first rule that matches the field information of the target request.

[0092] Optionally, in the network request control device provided in Embodiment 2 of this application, the first determining unit 304 includes: a first sending subunit, configured to, when the matching result contains a rule corresponding to the first business system and the second switch information indicates that the first business system is in production state, designate the first business system as the target business system and send the target request to the first business system; and a second sending subunit, configured to, when the matching result contains a rule corresponding to the second business system and the second switch information indicates that the second business system is in production state, designate the second business system as the target business system and send the target request to the second business system.

[0093] Optionally, in the network request control device provided in Embodiment 2 of this application, the target request is sent to at least one of the following business systems: a first business system and a third business system. The device further includes: a first sending unit, configured to send the target request to the third business system before matching the first rule and the target request to obtain a matching result, in the case where the first switch information indicates that the target request is not controlled, or the first switch information indicates that the target request is controlled, and the second switch information indicates that the second business system is not in a production state; and a second sending unit, configured to use the third business system as the target business system and send the target request to the third business system when the first switch information indicates that the target request is controlled, the second switch information indicates that the second business system is in a production state, and the matching result does not contain a rule corresponding to the first business system.

[0094] Optionally, in the network request control device provided in Embodiment 2 of this application, the device further includes: a second receiving unit, configured to receive a target message before reading control information in memory, wherein the target message is a message for processing target rules; a verification unit, configured to verify the field information of the target rules in the target message and obtain a verification result; a processing unit, configured to convert the target rules in the target message into a preset format to obtain processed target rules if the verification result is successful; and a loading unit, configured to load the processed target rules into memory and store them in the target database.

[0095] Optionally, in the network request control device provided in Embodiment 2 of this application, the device further includes: a fourth determining unit, configured to determine the business function of each business system according to the business requirements of the business system before receiving the target message; a configuration unit, configured to configure the processing scope of each business function, the user of each business function, and the processing rules of each business function to obtain the target rules; and a generation unit, configured to generate the target message according to the target rules.

[0096] The network request control device includes a processor and a memory. The first receiving unit 301, reading unit 302, matching unit 303 and first determining unit 304 mentioned above are all stored in the memory as program units. The processor executes the program units stored in the memory to realize the corresponding functions.

[0097] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can improve the work efficiency of airline staff.

[0098] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0099] Embodiment 3 of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements a method for controlling network requests.

[0100] Embodiment 4 of the present invention provides a processor for running a program, wherein the program executes a control method for network requests during runtime.

[0101] like Figure 4As shown, Embodiment 5 of the present invention provides an electronic device, the device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs the following steps: receiving a target request and determining the target business function to be implemented by the target request; reading control information in memory, wherein the control information includes at least: first switch information and target rules, the first switch information being used to indicate whether to control the target request, and the target rules being used to determine the target business system to process the target request; when the first switch information indicates that the target request should be controlled, matching the first rule and the target request to obtain a matching result, wherein the first rule is the rule corresponding to the target business function in the target rules; determining the target business system based on the matching result, and controlling the forwarding of the target request to the target business system.

[0102] When the processor executes the program, it also performs the following steps: The control information mentioned above includes: second switch information, which represents a business system in production state. Before matching the first rule and the target request to obtain a matching result, the method also includes: determining the business system in production state based on the second switch information, wherein the business system includes at least: a first business system and a second business system, and the first business system and the second business system perform different businesses; determining the target rule based on the rule corresponding to the business system in production state.

[0103] When the processor executes the program, it also performs the following steps: matching the first rule with the target request to obtain a matching result, including: determining the first rule in the target rule according to the target business function; matching the field information of each field in the target request with the first rule to obtain the matching first rule; generating a matching result based on the matching first rule, wherein the matching result contains the first rule that matches the field information of the target request.

[0104] When the processor executes the program, it also performs the following steps: determining the target business system based on the matching result and controlling the forwarding of the target request to the target business system, including: if the matching result contains a rule corresponding to the first business system and the second switch information indicates that the first business system is in production status, the first business system is taken as the target business system and the target request is sent to the first business system; if the matching result contains a rule corresponding to the second business system and the second switch information indicates that the second business system is in production status, the second business system is taken as the target business system and the target request is sent to the second business system.

[0105] When the processor executes the program, it also performs the following steps: the target request is sent to at least one of the following business systems: the first business system and the third business system. Before matching the first rule and the target request to obtain a matching result, the above method further includes: sending the target request to the third business system when the first switch information indicates that the target request is not controlled, or when the first switch information indicates that the target request is controlled and the second switch information indicates that the second business system is not in production status; and when the first switch information indicates that the target request is controlled, the second switch information indicates that the second business system is in production status, and the matching result does not contain a rule corresponding to the first business system, using the third business system as the target business system and sending the target request to the third business system.

[0106] When the processor executes the program, it also performs the following steps: Before reading the control information in memory, the above method further includes: receiving a target message, wherein the target message is a message for processing target rules; verifying the field information of the target rules in the target message to obtain a verification result; if the verification result is successful, converting the target rules in the target message into a preset format to obtain processed target rules; loading the processed target rules into memory and storing them in the target database.

[0107] When the processor executes the program, it also performs the following steps: Before receiving the target message, the above method further includes: for each business system, determining the business functions of the business system based on the business requirements of the business system; configuring the processing scope of each business function, configuring the users of each business function, and configuring the processing rules of each business function to obtain the target rules; and generating the target message based on the target rules.

[0108] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.

[0109] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program with the following method steps: receiving a target request and determining the target business function to be implemented by the target request; reading control information in memory, wherein the control information includes at least: first switch information and target rules, the first switch information being used to indicate whether to control the target request, and the target rules being used to determine the target business system for processing the target request; if the first switch information indicates that the target request is to be controlled, matching the first rule and the target request to obtain a matching result, wherein the first rule is the rule corresponding to the target business function in the target rules; determining the target business system based on the matching result, and controlling the forwarding of the target request to the target business system.

[0110] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: the control information mentioned above includes: second switch information, which represents a business system in production state; before matching the first rule and the target request to obtain a matching result, the method further includes: determining the business system in production state based on the second switch information, wherein the business system includes at least: a first business system and a second business system, the first business system and the second business system performing different businesses; and determining the target rule based on the rule corresponding to the business system in production state.

[0111] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: matching a first rule with a target request to obtain a matching result, including: determining a first rule in the target rules based on the target business function; matching the field information of each field in the target request with the first rule to obtain a matching first rule; generating a matching result based on the matching first rule, wherein the matching result contains the first rule that matches the field information of the target request.

[0112] When executed on a data processing device, it is also suitable to execute an initialization program with the following method steps: determining the target business system based on the matching result and controlling the forwarding of the target request to the target business system, including: if the matching result contains a rule corresponding to the first business system and the second switch information indicates that the first business system is in production state, taking the first business system as the target business system and sending the target request to the first business system; if the matching result contains a rule corresponding to the second business system and the second switch information indicates that the second business system is in production state, taking the second business system as the target business system and sending the target request to the second business system.

[0113] When executed on a data processing device, it is also suitable to execute an initialization procedure with the following steps: the target request is sent to at least one of the following business systems: a first business system and a third business system. Before matching the first rule and the target request to obtain a matching result, the above method further includes: sending the target request to the third business system when the first switch information indicates that the target request is not controlled, or when the first switch information indicates that the target request is controlled and the second switch information indicates that the second business system is not in a production state; and when the first switch information indicates that the target request is controlled, the second switch information indicates that the second business system is in a production state, and the matching result does not contain a rule corresponding to the first business system, using the third business system as the target business system and sending the target request to the third business system.

[0114] When executed on a data processing device, it is also suitable to execute an initialization program with the following method steps: before reading control information in memory, the above method further includes: receiving a target message, wherein the target message is a message for processing target rules; validating the field information of the target rules in the target message to obtain a validation result; if the validation result is successful, converting the target rules in the target message into a preset format to obtain processed target rules; loading the processed target rules into memory and storing them in the target database.

[0115] When executed on a data processing device, it is also suitable to execute an initialization program with the following method steps: Before receiving the target message, the above method further includes: for each business system, determining the business functions of the business system according to the business requirements of the business system; configuring the processing scope of each business function, configuring the users of each business function, and configuring the processing rules of each business function to obtain the target rules; and generating the target message according to the target rules.

[0116] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0117] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0118] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0119] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0120] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0121] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0122] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0123] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0124] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0125] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for controlling network requests, characterized in that, include: Receive the target request and determine the target business function that the target request requests to implement; Read control information from memory, wherein the control information includes at least: first switch information and target rule, the first switch information is used to indicate whether to control the target request, the target rule is used to determine the target business system that processes the target request, wherein the control information includes: second switch information, the second switch information representing a business system in production state; When the first switch information indicates that the target request is controlled, the first rule and the target request are matched to obtain a matching result, wherein the first rule is the rule corresponding to the target business function in the target rule; The target business system is determined based on the matching result, and the target request is forwarded to the target business system. Before matching the first rule with the target request to obtain a matching result, the method further includes: The business system in production state is determined based on the second switch information, wherein the business system includes at least: a first business system and a second business system, and the first business system and the second business system perform different businesses; The target rule is determined based on the rules corresponding to the business system in production status; The first rule is matched against the target request to obtain the matching results, including: The first rule is determined in the target rules based on the target business function; The field information of each field in the target request is matched with the first rule to obtain the matching first rule; The matching result is generated according to the first matching rule, wherein the matching result contains the first rule that matches the field information of the target request; Before reading the control information from memory, the method further includes: For each business system, determine the business functions of that business system based on its business requirements; Configure the processing scope of each business function, configure the users of each business function, and configure the processing rules of each business function to obtain the target rules.

2. The method according to claim 1, characterized in that, Determining the target business system based on the matching result and controlling the forwarding of the target request to the target business system includes: If the matching result contains a rule corresponding to the first business system, and the second switch information indicates that the first business system is in production status, then the first business system is taken as the target business system, and the target request is sent to the first business system. If the matching result contains the rule corresponding to the second business system, and the second switch information indicates that the second business system is in production status, then the second business system is taken as the target business system, and the target request is sent to the second business system.

3. The method according to claim 2, characterized in that, The target request is sent to at least one of the following business systems: the first business system and the third business system. Before matching the first rule with the target request to obtain a matching result, the method further includes: If the first switch information indicates that the target request should not be controlled, or if the first switch information indicates that the target request should be controlled and the second switch information indicates that the second business system is not in production status, the target request will be sent to the third business system. If the first switch information indicates that the target request should be controlled, and the second switch information indicates that the second business system is in production status, and the matching result does not contain any rules corresponding to the first business system, then the third business system will be selected as the target business system, and the target request will be sent to the third business system.

4. The method according to claim 1, characterized in that, Before reading the control information from memory, the method further includes: Receive a target message, wherein the target message is a message that processes the target rule; The field information of the target rule in the target message is validated to obtain the validation result; If the verification result is successful, the target rule in the target message is converted into a preset format to obtain the processed target rule; The processed target rules are loaded into memory and stored in the target database.

5. A control device for network requests, characterized in that, include: The first receiving unit is used to receive the target request and determine the target business function that the target request requests to implement; A reading unit is used to read control information in memory, wherein the control information includes at least: first switch information and target rule, the first switch information is used to indicate whether to control the target request, and the target rule is used to determine the target business system that processes the target request, wherein the control information includes: second switch information, the second switch information representing a business system in production state; A matching unit is configured to match a first rule with the target request when the first switch information indicates that the target request should be controlled, and obtain a matching result, wherein the first rule is the rule corresponding to the target business function in the target rule; The first determining unit is configured to determine the target business system based on the matching result, and control the forwarding of the target request to the target business system; The device further includes: a second determining unit, configured to determine a business system in production state based on the second switch information before matching the first rule with the target request to obtain a matching result, wherein the business system includes at least a first business system and a second business system, and the first business system and the second business system perform different businesses; and a third determining unit, configured to determine the target rule based on the rule corresponding to the business system in production state. The matching unit includes: a determining subunit, configured to determine the first rule in the target rules based on the target business function; a matching subunit, configured to match the field information of each field in the target request with the first rule respectively to obtain the matching first rule; and a generating subunit, configured to generate the matching result based on the matching first rule, wherein the matching result includes the first rule that matches the field information of the target request. The device further includes: a fourth determining unit, configured to determine the business functions of each business system based on the business requirements of the business system before reading the control information in the memory; and a configuration unit, configured to configure the processing scope of each business function, configure the users of each business function, and configure the processing rules of each business function to obtain the target rules.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes stored computer instructions, wherein the network request control method of any one of claims 1 to 4 is implemented when the computer instructions are executed by a processor.

7. An electronic device, characterized in that, It includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the network request control method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Flow control method and device, network equipment and storage medium

    CN110808919A

  • Service routing implementation method, device and system

    CN118233369A