Port departure service request processing method and device, and storage medium
Patent Information
- Application Number
- CN202610717650.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-22
- Publication Date
- 2026-08-18
AI Technical Summary
[0005]本申请的主要目的在于提供一种离港服务请求的处理方法、装置及存储介质,以解决相关技术中离港服务请求的处理稳定性较差的问题
[0021]在本申请实施例中,通过接收待处理的离港服务请求,并在缓存文件中获取离港路由功能系统对应的预设路由策略和分区状态信息;依据预设路由策略在离港路由功能系统中确定离港服务请求对应的第一目标分区,其中,离港路由功能系统包括多个预设分区组,每个预设分区组中包括多个预设分区,预设分区中部署有用于处理离港服务请求的预设服务;依据分区状态信息查询第一目标分区的状态,并在第一目标分区的状态为状态正常的情况下,调用第一目标分区中的预设服务对离港服务请求进行处理;在第一目标分区的状态为状态异常的情况下,依据熔断备用分区规则在离港路由功能系统中确定第二目标分区,并调用第二目标分区中的预设服务对离港服务请求进行处理,解决了现有技术中离港服务请求的处理稳定性较差的技术问题。
Smart Images

Figure CN122601751A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of civil aviation information technology, and more specifically, to a method, apparatus and storage medium for processing departure service requests. Background Technology
[0002] The processing of departure service requests is an indispensable part of the civil aviation industry, involving several key business processes such as passenger check-in, baggage handling, and boarding control.
[0003] In existing technologies, processing departure service requests may encounter single points of failure. When faced with such failures, manual intervention and fixed manual switching strategies are usually relied upon. This approach is not only slow in response time, but also prone to misjudgment in complex failure scenarios, leading to failure propagation and a serious decline in user experience, thereby affecting the stability of processing departure service requests.
[0004] There is currently no effective solution to the problem of poor stability in processing departure service requests in related technologies. Summary of the Invention
[0005] The main objective of this application is to provide a method, apparatus, and storage medium for processing departure service requests, in order to solve the problem of poor stability in the processing of departure service requests in related technologies.
[0006] To achieve the above objectives, according to one aspect of this application, a method for processing departure service requests is provided. The method includes: receiving a departure service request to be processed, and obtaining a preset routing policy and partition status information corresponding to a departure routing function system from a cache file; determining a first target partition corresponding to the departure service request in the departure routing function system according to the preset routing policy, wherein the departure routing function system includes multiple preset partition groups, each preset partition group includes multiple preset partitions, and preset services for processing departure service requests are deployed in the preset partitions; querying the status of the first target partition according to the partition status information, and if the status of the first target partition is normal, calling the preset services in the first target partition to process the departure service request; if the status of the first target partition is abnormal, determining a second target partition in the departure routing function system according to the circuit breaker backup partition rule, and calling the preset services in the second target partition to process the departure service request.
[0007] Furthermore, before receiving the departure service request to be processed, the method also includes: determining multiple geographic location attributes, determining multiple preset partition groups based on the multiple geographic location attributes, wherein the preset partition groups and geographic location attributes have a one-to-one correspondence; configuring multiple different preset partitions in each preset partition group to obtain multiple preset partition groups after configuration, wherein the types of preset partitions include test partitions, verification partitions and implementation partitions; and constructing a departure routing function system based on the multiple preset partition groups after configuration.
[0008] Furthermore, determining the first target partition corresponding to the departure service request in the departure routing function system according to the preset routing strategy includes: determining the traffic origin information and aviation business information based on the departure service request, wherein the aviation business information includes airline information, terminal information and flight information; determining the first target partition group among multiple preset partition groups in the departure routing function system based on the preset routing strategy, traffic origin information and geographical location attributes; and determining the first target partition among the test partition, verification partition and implementation partition of the first target partition group based on the preset routing strategy and aviation business information.
[0009] Furthermore, determining the second target partition in the departure routing function system according to the circuit breaker backup partition rules includes: determining a backup partition list corresponding to the departure service request in the departure routing function system according to the circuit breaker backup partition rules, wherein the backup partition list includes multiple backup partition groups arranged in the first priority order, and each backup partition group includes multiple backup partitions arranged in the second priority order; traversing the backup partition list according to the first priority order and the second priority order, and stopping the traversal when a backup partition with a normal status is obtained; and determining the backup partition with a normal status as the second target partition.
[0010] Furthermore, after processing the departure service request by calling the preset service in the first target partition, the method further includes: receiving call return information for calling the preset service in the first target partition; determining whether the call reached the preset service based on the call return information; if the call did not reach the preset service, determining the number of connection failures corresponding to the first target partition based on the partition status information, and updating the number of connection failures to obtain the updated number of connection failures; if the updated number of connection failures is greater than a preset threshold, triggering a circuit breaker operation on the first target partition, and modifying the status of the first target partition in the partition status information of the cached file to an abnormal status.
[0011] Furthermore, after modifying the status of the first target partition in the partition status information of the cached file to an abnormal status, the method further includes: starting a probe task for the first target partition, wherein the probe task is used to periodically send probe requests to a preset service in the first target partition; obtaining probe response information corresponding to the probe request, and determining the response result of the first target partition based on the probe response information; and modifying the status of the first target partition in the partition status information of the cached file to a normal status if the response result is a normal response.
[0012] To achieve the above objectives, according to another aspect of this application, a processing apparatus for departure service requests is provided. The apparatus includes: a request receiving unit, configured to receive a departure service request to be processed and obtain a preset routing policy and partition status information corresponding to a departure routing function system from a cache file; a first determining unit, configured to determine a first target partition corresponding to the departure service request in the departure routing function system according to the preset routing policy, wherein the departure routing function system includes multiple preset partition groups, each preset partition group includes multiple preset partitions, and preset services for processing departure service requests are deployed in the preset partitions; a first processing unit, configured to query the status of the first target partition according to the partition status information, and, if the status of the first target partition is normal, call the preset services in the first target partition to process the departure service request; and a second processing unit, configured to, if the status of the first target partition is abnormal, determine a second target partition in the departure routing function system according to the circuit breaker backup partition rule, and call the preset services in the second target partition to process the departure service request.
[0013] Furthermore, the device also includes: a location grouping unit, used to determine multiple geographic location attributes before receiving a departure service request to be processed, and to determine multiple preset partition groups based on the multiple geographic location attributes, wherein the preset partition groups and geographic location attributes have a one-to-one correspondence; a partition configuration unit, used to configure multiple different preset partitions in each preset partition group to obtain multiple preset partition groups after configuration, wherein the types of preset partitions include test partitions, verification partitions and implementation partitions; and a system construction unit, used to construct a departure routing function system based on the multiple preset partition groups after configuration.
[0014] Furthermore, the first determining unit includes: a request parsing module, used to determine the traffic origin information and aviation business information based on the departure service request, wherein the aviation business information includes airline information, terminal information and flight information; a partition group positioning module, used to determine the first target partition group among multiple preset partition groups in the departure routing function system based on preset routing policies, traffic origin information and geographical location attributes; and a partition positioning module, used to determine the first target partition among the test partition, verification partition and implementation partition of the first target partition group based on preset routing policies and aviation business information.
[0015] Furthermore, the second processing unit includes: a spare partition list determination module, used to determine the spare partition list corresponding to the departure service request in the departure routing function system according to the circuit breaker spare partition rules, wherein the spare partition list includes multiple spare partition groups arranged in a first priority order, and each spare partition group includes multiple spare partitions arranged in a second priority order; a list traversal module, used to traverse the spare partition list in a first priority order and a second priority order, and stop traversing when a spare partition with a normal status is obtained; and a second target partition determination module, used to determine the spare partition with a normal status as the second target partition.
[0016] Furthermore, the device also includes: a call return information receiving unit, used to receive call return information for calling the preset service in the first target partition after processing the departure service request by calling the preset service in the first target partition; a call judgment unit, used to determine whether the call has reached the preset service based on the call return information; a count update unit, used to determine the number of connection failures corresponding to the first target partition based on the partition status information when the call has not reached the preset service, and update the number of connection failures to obtain the updated number of connection failures; and a circuit breaker triggering unit, used to trigger a circuit breaker operation on the first target partition when the updated number of connection failures is greater than a preset count threshold, and modify the status of the first target partition in the partition status information of the cached file to an abnormal status.
[0017] Furthermore, the device also includes: a probe activation unit, used to initiate a probe task for the first target partition after modifying the state of the first target partition in the partition status information of the cache file to an abnormal state, wherein the probe task is used to periodically send probe requests to a preset service in the first target partition; a response determination unit, used to obtain probe response information corresponding to the probe request and determine the response result of the first target partition based on the probe response information; and a state recovery unit, used to modify the state of the first target partition in the partition status information of the cache file to a normal state if the response result is a normal response.
[0018] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform a processing method for any departure service request.
[0019] According to another aspect of this application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include a processing method for performing any kind of departure service request.
[0020] According to another aspect of this application, a computer program product is provided, including computer instructions, which, when executed by a processor, implement the steps of a method for processing a departure service request as described above.
[0021] In this embodiment, a departure service request to be processed is received, and the preset routing policy and partition status information corresponding to the departure routing function system are obtained from the cache file. Based on the preset routing policy, a first target partition corresponding to the departure service request is determined in the departure routing function system. The departure routing function system includes multiple preset partition groups, each containing multiple preset partitions, and preset services for processing departure service requests are deployed in each preset partition. The status of the first target partition is queried based on the partition status information. If the status of the first target partition is normal, the preset services in the first target partition are invoked to process the departure service request. If the status of the first target partition is abnormal, a second target partition is determined in the departure routing function system according to the circuit breaker backup partition rule, and the preset services in the second target partition are invoked to process the departure service request. This solves the technical problem of poor processing stability of departure service requests in the prior art.
[0022] By utilizing the pre-defined routing strategies and partition status information in the departure routing function system and cache files, a dynamic and adaptive departure service request processing mechanism was constructed. The first target partition was determined in the departure routing function system based on the pre-defined routing strategy, and the status of the first target partition was obtained based on the partition status information. When the status of the first target partition was abnormal, the second target partition could be determined in the departure routing function system according to the circuit breaker backup partition rules. This enabled the early detection and rapid response to single-point failures in the first target partition, avoiding service interruption and improving the stability of departure service request processing. Attached Figure Description
[0023] 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:
[0024] Figure 1 A hardware block diagram of a computer terminal for implementing a method for processing departure service requests is shown.
[0025] Figure 2 This is a flowchart of a method for processing departure service requests according to an embodiment of this application;
[0026] Figure 3 This is a schematic diagram of a processing device for departure service requests provided according to an embodiment of this application;
[0027] Figure 4 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0028] 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.
[0029] 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 so that the embodiments of this application described herein can be implemented in orders other than those illustrated or 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.
[0030] It should be noted that the information collected in this application (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) are 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 this data all comply with relevant laws, regulations, and standards, do not violate public order and good morals, and provide corresponding access points for users to choose to authorize or refuse. For example, this system has interfaces with relevant users or organizations, providing users with corresponding access points to choose to agree to or refuse automated decision results; if the user chooses to refuse, the process proceeds to the expert decision-making stage.
[0031] Example 1
[0032] According to an embodiment of this application, a method embodiment for processing a departure service request is also provided. 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. Furthermore, 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.
[0033] The method embodiment provided in Embodiment 1 of this application can be executed on a mobile terminal, computer terminal, or similar computing device. Figure 1 A hardware block diagram of a computer terminal (or mobile device) for implementing a method for processing departure service requests is shown. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more processors 102 (shown as 102a, 102b, ..., 102n in the figure) 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0034] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10 (or mobile device). As involved in the embodiments of this application, the data processing circuits serve as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0035] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the departure service request processing method in this embodiment. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby implementing the aforementioned departure service request processing method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0036] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0037] The display may be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10 (or mobile device).
[0038] Under the aforementioned operating environment, this application provides the following: Figure 2 The method for handling departure service requests is shown. Figure 2 This is a flowchart of a method for processing departure service requests according to Embodiment 1 of this application.
[0039] Step S201: Receive the departure service request to be processed and obtain the preset routing policy and partition status information corresponding to the departure routing function system from the cache file.
[0040] Optionally, a departure service request refers to various electronic information requests issued by passengers, airline staff, ground handling agents, and other relevant parties in the air travel industry to complete departure procedures and related services. Departure service requests can include a series of business activities from passenger check-in, baggage drop-off, boarding control, flight load calculation to flight departure, and are a crucial link in ensuring smooth flight takeoff and safe passenger travel. Departure service requests can be received through a program interface, and the departure routing function system is used to distribute these requests to different preset partitions for processing. The cache file can be a pre-configured file used to store the preset routing strategy and partition status information corresponding to the departure routing function system; for example, the cache file can be a JSON format file. The preset routing strategy determines how to allocate departure service requests to the corresponding partitions, and the partition status information records whether the current working status of each partition is normal.
[0041] Step S202: Determine the first target partition corresponding to the departure service request in the departure routing function system according to the preset routing policy. The departure routing function system includes multiple preset partition groups, each preset partition group includes multiple preset partitions, and preset services for processing departure service requests are deployed in the preset partitions.
[0042] Optionally, the preset partition groups in the departure routing function system can be sets of partitions differentiated by business. For example, there can be three preset partition groups (Asia partition group, Europe partition group, and America partition group). Each preset partition group includes multiple preset partitions, and each preset partition has service software deployed on it. Preset services can be run through the service software to handle departure service requests. The service software in different preset partitions can have the same function. The preset partition corresponding to the departure service request can be determined in the departure routing function system according to the preset routing policy, and this preset partition can be used as the first target partition.
[0043] Step S203: Query the status of the first target partition based on the partition status information, and if the status of the first target partition is normal, call the preset service in the first target partition to process the departure service request.
[0044] Optionally, since the partition status information records whether each partition is currently functioning correctly, the status of the first target partition can be determined by querying the partition status information in the cache file. When the status of the first target partition is normal, the departure service request can be scheduled to the first target partition for processing. For example, the program interface of a preset service in the first target partition can be called to process the departure service request.
[0045] Step S204: If the status of the first target partition is abnormal, determine the second target partition in the departure routing function system according to the circuit breaker backup partition rules, and call the preset service in the second target partition to process the departure service request.
[0046] Optionally, if the first target partition is in an abnormal state, a fault-based request transfer mechanism can be adopted to ensure that the departure service request can be processed in a timely manner and avoid service interruption. Specifically, the departure routing function system can be traversed based on the circuit breaker backup partition rules to obtain a preset partition that conforms to the circuit breaker backup partition rules and is used to process the departure service request as the second target partition.
[0047] In summary, a dynamic and adaptive departure service request processing mechanism was constructed by using the departure routing function system and the preset routing policies and partition status information in the cache files. The first target partition was determined in the departure routing function system based on the preset routing policies, and the status of the first target partition was obtained based on the partition status information. When the status of the first target partition was abnormal, the second target partition could be determined in the departure routing function system according to the circuit breaker backup partition rules. This enabled the early detection and rapid response to single-point failures of the first target partition, avoiding service interruption and improving the processing stability of departure service requests.
[0048] To improve the stability of processing departure service requests, the method may optionally include the following steps before receiving a departure service request to be processed: determining multiple geographic location attributes; determining multiple preset partition groups based on the multiple geographic location attributes, wherein the preset partition groups and geographic location attributes have a one-to-one correspondence; configuring multiple different preset partitions in each preset partition group to obtain multiple configured preset partition groups, wherein the types of preset partitions include test partitions, verification partitions, and implementation partitions; and constructing a departure routing function system based on the configured multiple preset partition groups.
[0049] Optionally, different preset partition groups can correspond to different geographical location attributes. For example, three preset partition groups can be defined (Asia partition group, Europe partition group, and America partition group). Each preset partition is equipped with service software, which can run preset services to handle outbound service requests. For any given preset partition group, the multiple different types of preset partitions included in the preset partition group can be divided according to traffic status. For example, there are test partitions, verification partitions, and implementation partitions. Test partitions are used to test the functionality of new versions of service software. They typically do not carry business requests (i.e., no traffic access), but can be used as backups in emergency situations. Verification partitions are used to carry a small proportion (e.g., less than 10%) of daily business requests for gray-scale testing and functional verification before the new version of service software goes live, and also serve as backups for implementation partitions in case of failure. Implementation partitions are used to handle the majority (e.g., more than 90%) of daily business requests and are the partitions accessed by the main traffic of business requests. In other words, the three types of preset partitions—test partition, verification partition, and implementation partition—all deploy preset services capable of handling departure service requests. The difference lies in the version of the service software used to run these preset services in the different types of preset partitions. The version of the service software in the real-time partition can be lower than that in the verification and test partitions, and the version of the service software in the verification partition can be lower than that in the test partition. For a period after a new version has passed testing and deployment, the versions of the service software in the different types of preset partitions may also be the same. Through the above steps, this embodiment constructs a multi-layered, distributed departure routing function system, which not only includes multiple preset partition groups but also sets up different types of preset partitions within each preset partition group, forming an architecture that can operate independently yet support each other.
[0050] In summary, by determining multiple geographic location attributes, multiple preset partition groups are determined based on these attributes; multiple different preset partitions are configured in each preset partition group, resulting in multiple configured preset partition groups; and a departure routing function system is constructed based on these configured preset partition groups, thereby improving the stability of processing departure service requests.
[0051] To improve the stability of processing departure service requests, optionally, determining the first target partition corresponding to the departure service request in the departure routing function system according to the preset routing policy includes: determining the traffic origin information and aviation business information based on the departure service request, wherein the aviation business information includes airline information, terminal information, and flight information; determining the first target partition group among multiple preset partition groups in the departure routing function system based on the preset routing policy, traffic origin information, and geographic location attributes; and determining the first target partition among the test partition, verification partition, and implementation partition of the first target partition group based on the preset routing policy and aviation business information.
[0052] Optionally, departure service requests can be parsed to determine their corresponding IP addresses, and the traffic origin information can be determined based on the IP addresses. Simultaneously, key business data can be extracted from the departure service requests, such as airline information (e.g., China Southern Airlines), terminal information (e.g., Guangzhou Baiyun Airport), and flight information (e.g., flight number, departure time, destination). The departure routing function system can include three preset partition groups (Asia partition group, Europe partition group, and America partition group). The preset routing strategy can include the correspondence between preset geographical locations and preset partition groups. Based on the traffic origin information, the geographical location is determined in the preset routing strategy, and the preset partition group whose geographical location attributes match that location is determined as the first target partition group. The preset routing strategy can also include the correspondence between different airlines (or terminals, flights) and service software versions. Matching can be performed in the preset routing strategy based on the aviation business information corresponding to the departure service request to determine the corresponding service software version and obtain the target service software version. Since the service software versions of different types of preset partitions in the first target partition group are different (as mentioned above, the versions of service software used to run preset services differ in different types of preset partitions), the corresponding preset partition can be determined as the first target partition based on the target service software version. For example, the service software version of the test partition is V2.3, the service software version of the verification partition is V2.3, the service software version of the implementation partition is V2.2, and the service software version corresponding to flight XX123 is 2.3. Therefore, the verification partition in the first target partition group can be determined as the first target partition (the test partition usually does not carry business requests, that is, there is no traffic access).
[0053] In summary, by determining the traffic origin information and aviation business information based on the departure service request; determining the first target partition group among multiple preset partition groups in the departure routing function system based on preset routing policies, traffic origin information, and geographical location attributes; and determining the first target partition among the test partition, verification partition, and implementation partition of the first target partition group based on preset routing policies and aviation business information, the stability of processing departure service requests is improved.
[0054] To improve the stability of processing departure service requests, optionally, determining the second target partition in the departure routing function system according to the circuit breaker backup partition rules includes: determining a backup partition list corresponding to the departure service request in the departure routing function system according to the circuit breaker backup partition rules, wherein the backup partition list includes multiple backup partition groups arranged in a first priority order, and each backup partition group includes multiple backup partitions arranged in a second priority order; traversing the backup partition list according to the first priority order and the second priority order, and stopping the traversal when a backup partition with a normal status is obtained; and determining the backup partition with a normal status as the second target partition.
[0055] Optionally, the circuit breaker spare partition rules are traversed in the departing routing function system to obtain preset partitions that conform to the circuit breaker spare partition rules and are used to process departing service requests as the second target partitions. The spare partition list includes multiple spare partition groups, and each spare partition group includes multiple spare partitions. The spare partition groups are arranged in first priority order, and the spare partitions are arranged in second priority order. The target spare partition group can be determined by traversing the spare partition list in first priority order first, and then the spare partitions in the target spare partition group can be traversed in second priority order to determine the spare partitions with normal status as the second target partitions. The spare partition list displays all partitions with the same service software version as the departing service request. If no partition with normal status is obtained after traversing the spare partition list, the preset partition corresponding to the previous version of the service software in the first target partition can be determined as the second target partition (for example, if the first target partition is the verification partition in the Asia partition group with service software version 2.1, and the service software version of the partitions in the spare partition list is also 2.1, in the case that no partitions with normal status are found during traversal, the implementation partition of version 2.0 in the Asia partition group can be determined as the second target partition).
[0056] For example, if the first target partition is the implementation partition of the Asia partition group, the backup partition list corresponding to the first target partition can be obtained by comparing it with the backup partition rules of the circuit breaker (sorted by first priority as: Asia partition group 3, Europe partition group 2, ... etc.). Based on the backup partition list, the highest priority backup partition with a normal status is the verification partition in the Europe partition group. Then the second target partition is the verification partition in the Europe partition group.
[0057] In summary, by determining the backup partition list corresponding to the departure service request in the departure routing function system according to the circuit breaker backup partition rules, the backup partition list includes multiple backup partition groups arranged in the first priority order, and each backup partition group includes multiple backup partitions arranged in the second priority order. The backup partition list is traversed in the first priority order and the second priority order, and the traversal stops when a backup partition with a normal status is obtained. The backup partition with a normal status is determined as the second target partition, which improves the stability of processing departure service requests.
[0058] To improve the stability of processing departure service requests, optionally, after processing the departure service request by calling a preset service in the first target partition, the method further includes: receiving call return information for calling the preset service in the first target partition; determining whether the call reached the preset service based on the call return information; if the call did not reach the preset service, determining the number of connection failures corresponding to the first target partition based on the partition status information, and updating the number of connection failures to obtain the updated number of connection failures; if the updated number of connection failures is greater than a preset threshold, triggering a circuit breaker operation on the first target partition, and modifying the status of the first target partition in the partition status information of the cached file to an abnormal status.
[0059] Optionally, after processing the off-shipment service request by calling the preset service in the first target partition, the call return information of the preset service (e.g., service response status code, error message, execution result, etc.) can be received. By analyzing the status code and other feedback data in the call return information, it can be determined whether the call successfully reached the preset service node. For example, status code 200 indicates a successful call, while status code MDCS-0216-15 in the pre-configured error code list indicates that the preset service was not reached (i.e., connection failed). The number of connection failures in the first target partition can be queried based on the partition status information. For example, if the number of connection failures is already 9, the connection failure count can be updated by incrementing the count by one, resulting in 10 connection failures. The preset threshold is 9. At this point, the updated number of connection failures is greater than the preset threshold, triggering a circuit breaker operation on the first target partition. The status of the first target partition in the cached partition status information is changed to an abnormal status, indicating that subsequent traffic to this partition will be redirected to other backup partitions.
[0060] In summary, by receiving call return information for invoking a preset service in the first target partition; determining whether the call reached the preset service based on the call return information; if the call did not reach the preset service, determining the number of connection failures corresponding to the first target partition based on the partition status information, and updating the number of connection failures to obtain the updated number of connection failures; if the updated number of connection failures is greater than a preset threshold, triggering a circuit breaker operation on the first target partition, and modifying the status of the first target partition in the partition status information of the cached file to an abnormal status, the stability of processing off-board service requests is improved.
[0061] To improve the stability of processing departure service requests, optionally, after modifying the status of the first target partition in the partition status information of the cache file to an abnormal status, the method further includes: starting a probe task for the first target partition, wherein the probe task is used to periodically send probe requests to preset services in the first target partition; obtaining probe response information corresponding to the probe request, determining the response result of the first target partition based on the probe response information; and modifying the status of the first target partition in the partition status information of the cache file to a normal status if the response result is a normal response.
[0062] Optionally, after changing the status of the first target partition in the partition status information to "abnormal," a liveness probe task can be started for that partition. This task can be a background thread or a scheduled task that periodically sends probe requests to a preset service in the first target partition to check service availability. After the probe task sends the probe request, probe response information can be obtained. Analyzing the probe response information determines whether the response result of the first target partition meets the preset normal response criteria. This usually means that the service can respond normally to the probe request without timeouts, error status codes, or other abnormalities. If it is a normal response, it indicates that the service has recovered, and the partition status information in the cache file can be changed from "abnormal" to "normal."
[0063] In summary, by using a periodic activation mechanism, the status of circuit-broken partitions can be continuously monitored without affecting normal demand processing. When the status is restored, the status of the partitions can be adjusted in a timely manner, thereby optimizing resource utilization efficiency and improving the stability of processing off-board service requests.
[0064] 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.
[0065] Example 2
[0066] This application also provides a processing apparatus for departure service requests. It should be noted that this processing apparatus for departure service requests can be used to execute the processing method for departure service requests provided in this application. The processing apparatus for departure service requests provided in this application will be described below.
[0067] According to an embodiment of this application, an apparatus for implementing the above-described method for processing departure service requests is also provided, such as... Figure 3 As shown, the device includes:
[0068] The request receiving unit 301 is used to receive the departure service request to be processed and to obtain the preset routing policy and partition status information corresponding to the departure routing function system from the cache file.
[0069] The first determining unit 302 is used to determine the first target partition corresponding to the departure service request in the departure routing function system according to the preset routing policy. The departure routing function system includes multiple preset partition groups, each preset partition group includes multiple preset partitions, and preset services for processing departure service requests are deployed in the preset partitions.
[0070] The first processing unit 303 is used to query the status of the first target partition based on the partition status information, and if the status of the first target partition is normal, to call the preset service in the first target partition to process the departure service request.
[0071] The second processing unit 304 is used to determine the second target partition in the departure routing function system according to the circuit breaker backup partition rules when the status of the first target partition is abnormal, and to call the preset service in the second target partition to process the departure service request.
[0072] The departure service request processing apparatus provided in this application embodiment receives a departure service request to be processed through a request receiving unit 301, and obtains the preset routing policy and partition status information corresponding to the departure routing function system from the cache file. The first determining unit 302 determines the first target partition corresponding to the departure service request in the departure routing function system according to the preset routing policy. The departure routing function system includes multiple preset partition groups, and each preset partition group includes multiple preset partitions. The preset partitions are deployed with preset services for processing departure service requests. The first processing unit 303 queries the status of the first target partition according to the partition status information. If the status of the first target partition is normal, the preset service in the first target partition is called to process the departure service request. If the status of the first target partition is abnormal, the second processing unit 304 determines the second target partition in the departure routing function system according to the circuit breaker backup partition rule, and calls the preset service in the second target partition to process the departure service request. This solves the problem of poor processing stability of departure service requests in related technologies, thereby achieving the effect of enhancing the processing stability of departure service requests.
[0073] Optionally, in the departure service request processing apparatus provided in this application embodiment, the apparatus further includes: a location grouping unit, used to determine multiple geographic location attributes before receiving a departure service request to be processed, and to determine multiple preset partition groups based on the multiple geographic location attributes, wherein the preset partition groups and geographic location attributes have a one-to-one correspondence; a partition configuration unit, used to configure multiple different preset partitions in each preset partition group to obtain multiple preset partition groups after configuration, wherein the types of preset partitions include test partitions, verification partitions and implementation partitions; and a system construction unit, used to construct a departure routing function system based on the multiple preset partition groups after configuration.
[0074] Optionally, in the departure service request processing apparatus provided in this application embodiment, the first determining unit includes: a request parsing module, used to determine traffic origin information and aviation business information based on the departure service request, wherein the aviation business information includes airline information, terminal information and flight information; a partition group positioning module, used to determine a first target partition group among multiple preset partition groups in the departure routing function system based on preset routing policies, traffic origin information and geographical location attributes; and a partition positioning module, used to determine the first target partition among the test partition, verification partition and implementation partition of the first target partition group based on preset routing policies and aviation business information.
[0075] Optionally, in the departure service request processing apparatus provided in this application embodiment, the second processing unit includes: a spare partition list determination module, used to determine the spare partition list corresponding to the departure service request in the departure routing function system according to the circuit breaker spare partition rules, wherein the spare partition list includes multiple spare partition groups arranged in a first priority order, and each spare partition group includes multiple spare partitions arranged in a second priority order; a list traversal module, used to traverse the spare partition list in a first priority order and a second priority order, and stop traversing when a spare partition with a normal status is obtained; and a second target partition determination module, used to determine the spare partition with a normal status as the second target partition.
[0076] Optionally, in the departure service request processing apparatus provided in this application embodiment, the apparatus further includes: a call return information receiving unit, configured to receive call return information for calling the preset service in the first target partition after processing the departure service request by calling the preset service in the first target partition; a call judgment unit, configured to determine whether the call has reached the preset service based on the call return information; a count update unit, configured to determine the number of connection failures corresponding to the first target partition based on the partition status information when the call has not reached the preset service, and update the number of connection failures to obtain the updated number of connection failures; and a circuit breaker triggering unit, configured to trigger a circuit breaker operation on the first target partition when the updated number of connection failures is greater than a preset count threshold, and modify the status of the first target partition in the partition status information of the cached file to an abnormal status.
[0077] Optionally, in the departure service request processing apparatus provided in this application embodiment, the apparatus further includes: a probe activation unit, configured to initiate a probe task for the first target partition after modifying the state of the first target partition in the partition status information of the cache file to an abnormal state, wherein the probe task is used to periodically send probe requests to a preset service in the first target partition; a response determination unit, configured to obtain probe response information corresponding to the probe request and determine the response result of the first target partition based on the probe response information; and a state recovery unit, configured to modify the state of the first target partition in the partition status information of the cache file to a normal state when the response result is a normal response.
[0078] It should be noted that the aforementioned request receiving unit 301, first determining unit 302, first processing unit 303, and second processing unit 304 correspond to steps S201 to S204 in Embodiment 1. The instances and application scenarios implemented by the units and corresponding steps are the same, but are not limited to the content disclosed in Embodiment 1. It should be noted that the aforementioned modules or units may be hardware or software components stored in memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). The aforementioned modules may also be part of a device and can run in the computer terminal 10 provided in Embodiment 1.
[0079] Example 3
[0080] Embodiments of this application may provide an electronic device. Figure 4 This is a structural block diagram of an electronic device according to an embodiment of this application. Figure 4 As shown, the electronic device may include: one or more ( Figure 4 (Only one is shown) Processor 402, memory 404, memory controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0081] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the methods and apparatus in the embodiments of this application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the above-described methods. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0082] The processor can invoke information and applications stored in the memory via the transmission device to perform the following steps: receiving a departure service request to be processed and obtaining the preset routing policy and partition status information corresponding to the departure routing function system from the cache file; determining the first target partition corresponding to the departure service request in the departure routing function system according to the preset routing policy, wherein the departure routing function system includes multiple preset partition groups, each preset partition group includes multiple preset partitions, and preset services for processing departure service requests are deployed in the preset partitions; querying the status of the first target partition according to the partition status information, and if the status of the first target partition is normal, calling the preset services in the first target partition to process the departure service request; if the status of the first target partition is abnormal, determining the second target partition in the departure routing function system according to the circuit breaker backup partition rules, and calling the preset services in the second target partition to process the departure service request.
[0083] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: determine multiple geographic location attributes, determine multiple preset partition groups based on the multiple geographic location attributes, wherein the preset partition groups and geographic location attributes have a one-to-one correspondence; configure multiple different preset partitions in each preset partition group to obtain multiple preset partition groups after configuration, wherein the types of preset partitions include test partitions, verification partitions and implementation partitions; and construct the departure routing function system based on the multiple preset partition groups after configuration.
[0084] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: determine the traffic origin information and aviation business information based on the departure service request, wherein the aviation business information includes airline information, terminal information and flight information; determine the first target partition group among multiple preset partition groups of the departure routing function system based on the preset routing policy, traffic origin information and geographical location attributes; determine the first target partition among the test partition, verification partition and implementation partition of the first target partition group based on the preset routing policy and aviation business information.
[0085] The processor can also invoke information and applications stored in the memory via the transmission device to perform the following steps: determine the list of backup partitions corresponding to the departure service request in the departure routing function system according to the circuit breaker backup partition rules, wherein the backup partition list includes multiple backup partition groups arranged in a first priority order, and each backup partition group includes multiple backup partitions arranged in a second priority order; traverse the backup partition list according to the first priority order and the second priority order, and stop traversing when a backup partition with a normal status is obtained; determine the backup partition with a normal status as the second target partition.
[0086] The processor can also invoke information and applications stored in the memory via the transmission device to perform the following steps: receiving call return information for a call to a preset service in the first target partition; determining whether the call has reached the preset service based on the call return information; if the call has not reached the preset service, determining the number of connection failures corresponding to the first target partition based on the partition status information, and updating the number of connection failures to obtain the updated number of connection failures; if the updated number of connection failures is greater than a preset threshold, triggering a circuit breaker operation on the first target partition, and modifying the status of the first target partition in the partition status information of the cached file to an abnormal status.
[0087] The processor can also invoke information and applications stored in the memory via the transmission device to perform the following steps: start a probe task for the first target partition, wherein the probe task is used to periodically send probe requests to preset services in the first target partition; obtain probe response information corresponding to the probe request, and determine the response result of the first target partition based on the probe response information; if the response result is a normal response, modify the status of the first target partition in the partition status information of the cache file to a normal status.
[0088] This application provides a solution for processing departure service requests. It receives departure service requests to be processed and retrieves the preset routing policy and partition status information corresponding to the departure routing function system from the cache file. Based on the preset routing policy, it determines the first target partition corresponding to the departure service request in the departure routing function system. The departure routing function system includes multiple preset partition groups, each containing multiple preset partitions, and each preset partition deploys a preset service for processing departure service requests. It queries the status of the first target partition based on the partition status information. If the first target partition is in a normal state, it calls the preset service in the first target partition to process the departure service request. If the first target partition is in an abnormal state, it determines a second target partition in the departure routing function system according to the circuit breaker backup partition rule and calls the preset service in the second target partition to process the departure service request. This solution addresses the technical problem of poor processing stability of departure service requests in the prior art.
[0089] Those skilled in the art will understand that Figure 4 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones, tablets, handheld computers, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 4 This does not limit the structure of the aforementioned electronic device. For example, electronic devices may also include components that are more... Figure 4The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 4 The different configurations shown.
[0090] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0091] Example 4
[0092] Embodiments of this application also provide a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the departure service request processing method provided in Embodiment 1.
[0093] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.
[0094] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: receiving a departure service request to be processed, and obtaining the preset routing policy and partition status information corresponding to the departure routing function system from the cache file; determining the first target partition corresponding to the departure service request in the departure routing function system according to the preset routing policy, wherein the departure routing function system includes multiple preset partition groups, each preset partition group includes multiple preset partitions, and preset services for processing departure service requests are deployed in the preset partitions; querying the status of the first target partition according to the partition status information, and if the status of the first target partition is normal, calling the preset services in the first target partition to process the departure service request; if the status of the first target partition is abnormal, determining the second target partition in the departure routing function system according to the circuit breaker backup partition rules, and calling the preset services in the second target partition to process the departure service request.
[0095] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: determining multiple geographic location attributes; determining multiple preset partition groups based on the multiple geographic location attributes, wherein the preset partition groups and geographic location attributes have a one-to-one correspondence; configuring multiple different preset partitions in each preset partition group to obtain multiple preset partition groups after configuration, wherein the types of preset partitions include test partitions, verification partitions, and implementation partitions; and constructing a departure routing function system based on the multiple preset partition groups after configuration.
[0096] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: determining traffic location information and aviation business information based on the departure service request, wherein the aviation business information includes airline information, terminal information, and flight information; determining a first target partition group among multiple preset partition groups of the departure routing function system based on a preset routing policy, traffic location information, and geographic location attributes; and determining a first target partition among the test partition, verification partition, and implementation partition of the first target partition group based on the preset routing policy and aviation business information.
[0097] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: determining a list of backup partitions corresponding to a departure service request in the departure routing function system according to the circuit breaker backup partition rules, wherein the backup partition list includes multiple backup partition groups arranged in a first priority order, and each backup partition group includes multiple backup partitions arranged in a second priority order; traversing the backup partition list according to the first priority order and the second priority order, and stopping the traversal when a backup partition with a normal status is obtained; and determining the backup partition with a normal status as the second target partition.
[0098] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: receiving call return information for calling a preset service in the first target partition; determining whether the call has reached the preset service based on the call return information; if the call has not reached the preset service, determining the number of connection failures corresponding to the first target partition based on the partition status information, and updating the number of connection failures to obtain the updated number of connection failures; if the updated number of connection failures is greater than a preset threshold, triggering a circuit breaker operation on the first target partition, and modifying the status of the first target partition in the partition status information of the cached file to an abnormal status.
[0099] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: initiating a probe task for the first target partition, wherein the probe task is used to periodically send probe requests to a preset service in the first target partition; obtaining probe response information corresponding to the probe request, and determining the response result of the first target partition based on the probe response information; if the response result is a normal response, modifying the status of the first target partition in the partition status information of the cache file to a normal status.
[0100] This application also provides a computer program product, which, when executed on a data processing device, is adapted to perform the processing method steps of a departure service request.
[0101] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0102] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0103] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0104] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0105] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0106] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0107] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for processing departure service requests, characterized in that, include: Receive pending departure service requests and retrieve the preset routing policy and partition status information corresponding to the departure routing function system from the cache file; According to the preset routing strategy, the first target partition corresponding to the departure service request is determined in the departure routing function system. The departure routing function system includes multiple preset partition groups, each of which includes multiple preset partitions. The preset partitions are equipped with preset services for processing departure service requests. Based on the partition status information, query the status of the first target partition, and if the status of the first target partition is normal, call the preset service in the first target partition to process the departure service request; If the first target partition is in an abnormal state, the second target partition is determined in the departure routing function system according to the circuit breaker backup partition rules, and the preset service in the second target partition is invoked to process the departure service request.
2. The method according to claim 1, characterized in that, Before receiving pending departure service requests, the method further includes: Multiple geographic location attributes are determined, and multiple preset partition groups are determined based on the multiple geographic location attributes, wherein the preset partition groups and the geographic location attributes have a one-to-one correspondence; Multiple different preset partitions are configured in each preset partition group to obtain multiple configured preset partition groups, wherein the types of preset partitions include test partitions, verification partitions and implementation partitions; The departure routing function system is constructed based on the configured multiple preset partition groups.
3. The method according to claim 2, characterized in that, The first target partition corresponding to the departure service request is determined in the departure routing function system according to the preset routing policy, including: Based on the departure service request, determine the traffic origin information and aviation business information, wherein the aviation business information includes airline information, terminal information and flight information; Based on the preset routing policy, the traffic attribution information, and the geographic location attribute, a first target partition group is determined from multiple preset partition groups in the departure routing function system; The first target partition is determined from the test partition, the verification partition, and the implementation partition of the first target partition group based on the preset routing strategy and the aviation business information.
4. The method according to claim 1, characterized in that, The second target partition is determined in the departure routing function system according to the circuit breaker backup partitioning rules, including: Based on the circuit breaker backup partition rules, a backup partition list corresponding to the departure service request is determined in the departure routing function system. The backup partition list includes multiple backup partition groups arranged in a first priority order, and each backup partition group includes multiple backup partitions arranged in a second priority order. The list of spare partitions is traversed according to the first priority order and the second priority order, and the traversal stops when a spare partition with a normal status is obtained. The spare partition whose status is normal is identified as the second target partition.
5. The method according to claim 1, characterized in that, After processing the departure service request by invoking a preset service in the first target partition, the method further includes: Receive call return information for invoking a preset service in the first target partition; Based on the returned information, determine whether the call reached the preset service; If the call does not reach the preset service, the number of connection failures corresponding to the first target partition is determined based on the partition status information, and the number of connection failures is updated to obtain the updated number of connection failures. If the number of connection failures after the update exceeds a preset threshold, a circuit breaker operation is triggered on the first target partition, and the status of the first target partition in the partition status information of the cached file is changed to an abnormal status.
6. The method according to claim 5, characterized in that, After modifying the status of the first target partition in the partition status information of the cached file to an abnormal status, the method further includes: Initiate a probe task for the first target partition, wherein the probe task is used to periodically send probe requests to a preset service in the first target partition; Obtain the detection response information corresponding to the detection request, and determine the response result of the first target partition based on the detection response information; If the response result is a normal response, the status of the first target partition in the partition status information of the cached file is modified to a normal status.
7. A processing apparatus for departure service requests, characterized in that, include: The request receiving unit is used to receive departure service requests to be processed and to obtain the preset routing policy and partition status information corresponding to the departure routing function system from the cache file. The first determining unit is used to determine the first target partition corresponding to the departure service request in the departure routing function system according to the preset routing strategy. The departure routing function system includes multiple preset partition groups, each preset partition group includes multiple preset partitions, and the preset partitions are deployed with preset services for processing departure service requests. The first processing unit is configured to query the status of the first target partition based on the partition status information, and if the status of the first target partition is normal, call the preset service in the first target partition to process the departure service request. The second processing unit is used to determine the second target partition in the departure routing function system according to the circuit breaker backup partition rules when the first target partition is in an abnormal state, and to call the preset service in the second target partition to process the departure service request.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device on which the computer-readable storage medium is located to perform the departure service request processing method according to any one of claims 1 to 6.
9. An electronic device, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, executes the method for processing departure service requests as described in any one of claims 1 to 6.
10. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the steps of the method for processing departure service requests as described in any one of claims 1 to 6.