A departure system upgrade method, device, equipment and storage medium

By dividing multiple service partitions on the server of the flight departure system and using specific upgrades and traffic management units, the problem of user access traffic cannot be handled normally during the system upgrade process, achieving uninterrupted upgrades and efficient traffic processing.

CN119201183BActive Publication Date: 2025-03-25TRAVELSKY TECHNOLOGY LIMITED
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411731569.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-25
Estimated Expiration
2044-11-28

AI Technical Summary

Technical Problem

When upgrading the application system, the existing technology needs to interrupt system services, resulting in application systems with high business timeliness requirements such as flight departure systems that cannot handle user access traffic normally during the upgrade process, affecting user experience and business efficiency.

Method used

By deploying the partition group corresponding to each preset area on the server, each partition group includes at least two service partitions. The traffic classification unit, partition marking unit, upgrade unit and traffic allocation unit are used to determine and classify the user access traffic type, perform system version upgrade, and allocate user access traffic to the upgraded partition without interrupting user access traffic processing.

Benefits of technology

It realizes system upgrades without interrupting the processing of user access traffic to the departure system, improves upgrade efficiency, and ensures user experience and business continuity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201183B_ABST
    Figure CN119201183B_ABST
Patent Text Reader

Abstract

The present application discloses a departure system upgrade method, device, equipment and storage medium, which can be applied to a server of a partition group corresponding to each preset area of ​​the departure system, and each partition group includes at least two business partitions. When an upgrade request for the departure system to be upgraded to a target version is received, the first partition in which the user access traffic processed is of the first type in at least two business partitions in each partition group is upgraded to obtain an upgraded first partition; and the user access traffic of the second type processed by the second partition is allocated to the upgraded first partition that meets the preset conditions. The upgrade task of the departure system is completed without interrupting the processing of the user access traffic by the departure system, and the upgrade is performed in units of each area, which can improve the upgrade efficiency of the departure system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of software upgrade, and more specifically, to a departure system upgrade method, device, equipment and storage medium. Background Art

[0002] The application system is a system that receives access from the user end and performs corresponding business processing, such as the flight departure system, the computer real-time network system that handles flight passenger check-in, aircraft loading calculation, flight control, and automatic telegram processing. In order to provide better services to users, the application system needs to be updated and upgraded.

[0003] Normally, the update and upgrade of application systems requires temporary interruption of application system services. However, for application systems with high business timeliness requirements, such as flight departure services at major airports around the world, providing travel services to users around the clock, if the application system services are interrupted to achieve the update and upgrade of the application system, there will be problems of interrupting user access and business processing, affecting the user experience and business processing efficiency. Summary of the invention

[0004] In view of this, the present application provides a departure system upgrade method, device, equipment and storage medium, which are used to solve the problem of operation interruption caused by departure system upgrade.

[0005] In order to solve the above problems, the proposed solutions are as follows:

[0006] In a first aspect, the present application provides a departure system upgrade method, which is applied to a server running the departure system, wherein the server is deployed with a partition group corresponding to each preset area, and the partition group includes at least two service partitions, and the service partition is used to perform departure service processing on user access traffic in the preset area;

[0007] The departure system upgrade method comprises:

[0008] When a request to upgrade the departure system to a target version is received, the upgrade process of the partition group corresponding to each preset area includes:

[0009] Determine the type of user access traffic processed by each of the service partitions in the partition group, the type of user access traffic at least includes: a first type and a second type, the first type is that the user access traffic is zero, and the second type is the user access traffic of the first batch of preset airports;

[0010] Classifying each of the service partitions according to the type of user access traffic processed by each of the service partitions to obtain a first partition and a second partition, wherein the first partition is a service partition for processing the user access traffic of the first type, and the second partition is a service partition for processing the user access traffic of the second type;

[0011] Upgrading the system version of the first partition to the target version to obtain an upgraded first partition;

[0012] The user access traffic of the second type processed by the second partition is allocated to the upgraded first partition that meets a preset condition.

[0013] In a possible implementation, when the partition group includes the three service partitions, allocating the second type of user access traffic processed by the second partition to the upgraded first partition that meets a preset condition includes:

[0014] Determine a third partition within the partition group, the third partition being a service partition for processing the third type of user access traffic, the third type being user access traffic of the second batch of preset airports for verifying the upgraded departure service processing capability; the sum of the user access traffic of the first batch of preset airports and the second batch of preset airports is the total user access traffic within the preset area corresponding to the partition group;

[0015] Allocating the user access traffic processed by the third partition to the upgraded first partition;

[0016] Detecting whether there is any abnormality in the processing of the user access traffic by the upgraded first partition within a preset time;

[0017] Within a preset time, if there is no abnormality in the processing of the user access traffic by the upgraded first partition, it is determined that the upgraded first partition meets the preset conditions, and the user access traffic of the first type processed by the second partition is allocated to the upgraded first partition.

[0018] In a possible implementation, the method further includes:

[0019] Comparing the version update levels corresponding to the second partition and the third partition, respectively, determining a business partition with a higher version update level and a business partition with a lower version update level in the second partition and the third partition;

[0020] The user access traffic of the third type processed by the upgraded first partition is allocated to the business partition with a higher version update degree.

[0021] In a possible implementation, the method further includes:

[0022] When there is an abnormality in the processing of the user access traffic by the upgraded first partition, repairing the upgraded first partition to obtain a repaired first partition;

[0023] If there is an abnormality in the processing of the user access traffic by the repaired first partition, the repaired first partition is rolled back to the initial version of the first partition, where the initial version is the system version before the first partition is upgraded.

[0024] In a possible implementation, the method further includes:

[0025] In the case that there is an abnormality in the processing of the user access traffic by the upgraded first partition, the user access traffic currently processed by the upgraded first partition is allocated to the second partition.

[0026] In a possible implementation, determining the type of user access traffic processed by each of the service partitions includes:

[0027] Acquire a partition status table of the departure system, wherein the partition status table stores at least the system version corresponding to each business partition and the airport corresponding to the processed user access traffic after the last upgrade is completed;

[0028] According to the airports corresponding to the user access traffic in the partition status table, determining that the user access traffic belonging to the first batch of preset airports is the second type;

[0029] Counting the proportion of the user access traffic processed by each of the business partitions;

[0030] The type of user access traffic processed corresponding to the business partition with a zero percentage is determined as the first type.

[0031] A second aspect of the present application provides a departure system upgrade device, which is applied to a server running a departure system, wherein the server is deployed with a partition group corresponding to each preset area, and the partition group includes at least two service partitions, and the service partition is used to perform departure service processing on user access traffic in the preset area;

[0032] The departure system upgrading device comprises:

[0033] A traffic classification unit, used to determine the type of user access traffic processed by each of the service partitions in the partition group, the type of user access traffic at least including: a first type and a second type, the first type being that the user access traffic is zero, and the second type being the user access traffic of the first batch of preset airports;

[0034] A partition marking unit, configured to classify each of the service partitions according to the type of user access traffic processed by each of the service partitions to obtain a first partition and a second partition, wherein the first partition is a service partition for processing the user access traffic of the first type, and the second partition is a service partition for processing the user access traffic of the second type;

[0035] An upgrading unit, used for upgrading the system version of the first partition to a target version to obtain an upgraded first partition;

[0036] The traffic distribution unit is used to distribute the user access traffic of the second type processed by the second partition to the upgraded first partition that meets the preset conditions.

[0037] A third aspect of the present application provides a departure system upgrade device, including: a memory and a processor;

[0038] The memory is used to store a computer program, and the processor executes the computer program to implement the steps of any one of the departure system upgrade methods.

[0039] A fourth aspect of the present application provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, each step of any one of the departure system upgrade methods is implemented.

[0040] In the present application, the server running the departure system is deployed with a partition group corresponding to each area, each partition group includes at least two business partitions, and the business partition can process the user access traffic for departure business, so that the upgrade of each departure area business does not affect each other. When upgrading the departure system, first classify each business partition in the partition group, and upgrade the business partition with zero user access traffic as the first partition, without affecting the normal operation of other business partitions with user access traffic processing needs. After the upgrade of the first partition is completed, the user access traffic of the airport is allocated to the upgraded first partition, and the upgraded departure system is used to process the user access traffic. The upgrade task of the departure system is completed without interrupting the processing of the user access traffic by the departure system, and the upgrade is carried out by dividing the business groups by region. Compared with the overall upgrade of the departure system, the upgrade efficiency of the departure system can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0042] Figure 1 An example diagram of the business partition deployment of the server provided in the embodiment of the present application;

[0043] Figure 2 A flowchart of a method for upgrading a departure system provided in an embodiment of the present application;

[0044] Figure 3 An example diagram of an application of a server for deploying a flight departure system provided in an embodiment of the present application;

[0045] Figure 4 An example diagram of a service partition upgrade process provided in an embodiment of the present application;

[0046] Figure 5 An example diagram of a service partition upgrade process provided in an embodiment of the present application;

[0047] Figure 6 A schematic diagram of the structure of a departure system upgrade device provided in an embodiment of the present application;

[0048] Figure 7 A schematic diagram of the structure of a departure system upgrade device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0050] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0051] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0052] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0053] Normally, the application system is deployed on the server as a complete computer program, and the computer program is run on the server to realize the business processing of the received user access traffic. If the departure system needs to be upgraded, the complete computer program needs to be upgraded. During this process, the operation of the application system has to be interrupted until each functional module of the computer program is upgraded. Only then can it be re-run to obtain the upgraded application system. For application systems with timeliness or large access traffic, it will affect the user experience and the efficiency of business processing.

[0054] In order to solve the above problems, this application proposes a departure system upgrade method, which is applied to a server where the departure system is deployed. Figure 1 , an example diagram of the business partition deployment of the server provided in an embodiment of the present application.

[0055] The server is deployed with a partition group corresponding to each preset area determined by the departure system according to the preset area division rules, and each partition group contains at least two business partitions, which can perform departure business processing on the user access traffic corresponding to the preset area. Figure 1 A1, A2, B1, B2...F1, F2 are business partitions, and each business partition can process user access traffic. Among them, business partitions B1 and B2 belong to two business partitions corresponding to the same preset area, that is, they belong to the same partition group and can perform the same processing function on user access traffic.

[0056] Optionally, multiple microservices can be deployed on each business partition. Microservices (or microservice architecture) is a cloud-native architecture approach that includes many loosely coupled and independently deployable small components or services in a single application. Microservices work together to complete the corresponding processing functions. For example, the departure system in the Asian region needs to implement other services while implementing basic departure services. In this way, multiple microservices can be deployed on the business partition corresponding to the Asian region, so that the business partition in the Asian region can be separated from the departure business functions of other regions.

[0057] In the embodiment of the present application, service partitions are deployed according to different processing objects, and at least two service partitions with the same processing objects are grouped as a partition. It is understandable that the departure rules of airports in each region are different. For example, the departure rules and departure rule file formats in Asia and America are different. If the same departure system is used, there may be problems such as format compatibility. Therefore, in the embodiment of the present application, the server deploys service partitions corresponding to different regions to implement departure services, and obtains a partition group corresponding to each region. Figure 1 The flight departure system needs to handle departure requests from multiple regions such as Asia and America. Business partitions A1 and A2 can be deployed for Asia. Business partitions A1 and A2 only handle user access traffic from Asia. Business partitions B1 and B2 can be deployed for America. Business partitions B1 and B2 only handle user access traffic from America, and so on. I will not go into details here.

[0058] Furthermore, when the server receives an upgrade request for the outbound system to the target version, the upgrade process for each partition group can refer to Figure 2 , a flow chart of a method for implementing a departure system upgrade provided in an embodiment of the present application, the specific steps may include the following contents.

[0059] It should be noted that the upgrade request received by the server can be the upgrade request sent by the operation and maintenance personnel through the front end and the corresponding configuration file update, start and stop background service, manual test service and other instructions, or it can be the server automatically monitoring the existence of an upgrade data packet in the departure system, which serves as a signal that there is an upgrade demand. The server responds to the signal and executes the departure system upgrade method below.

[0060] Step S110, determining the type of user access traffic processed by each service partition in the partition group.

[0061] Step S120: classify each service partition according to the type of user access traffic processed by each service partition to obtain a first partition and a second partition.

[0062] Reference Figure 3 , an application example diagram of a server for deploying a flight departure system provided in an embodiment of the present application, the server will receive user access traffic sent by the front end, external system, etc. The departure system in the server distributes the user access traffic to each business partition based on the area and airport to which each user access traffic belongs.

[0063] In an embodiment of the present application, it is assumed that there are three business partitions in a partition group, such as the verification zone, the general zone and the blank zone in the figure. In the figure, D1, DC, etc. are microservices deployed on the business partitions. The deployment of multiple microservices enables the business partitions to realize departure services. The traffic proportion of user access traffic allocated to one of the business partitions is zero, preparing for the subsequent uninterrupted upgrade of zero traffic. The remaining two partitions can allocate all received user access traffic in any proportion, but usually the business partition with a higher system version in the remaining two partitions is used as the main partition to handle a larger proportion of user access traffic, provide higher version services for most users, and improve user experience.

[0064] Therefore, the functional unit for allocating user access traffic in the server can monitor the traffic proportion of user access traffic allocated to each business partition in real time. Alternatively, the server can obtain the partition status table of the departure system, which stores information such as the system version, last upgrade time, and traffic proportion of user access traffic processed by each business partition after the last upgrade is completed; query the partition status table to determine the traffic proportion of user access traffic processed by at least two business partitions included in the currently upgraded partition group.

[0065] The embodiment of the present application takes into account that if the user access traffic is divided only according to the ratio, it is very likely that the abnormal processing of a departure business at an airport with a large user access traffic will cause chaos in the overall departure business of the airport. Because the embodiment of the present application uses the airport as the traffic division unit, the user access traffic is classified for upgrade, verification and normal business processing respectively. For example, airports with large traffic such as Baiyun Airport and Beijing Airport are listed as the first batch of preset airports, and the user access traffic of the first batch of preset airports is only processed by the upgraded and stable business partitions; some airports with small user access traffic are listed as the second batch of preset airports, and the user access traffic of the second batch of preset airports is used to verify the upgraded business partitions, reducing the impact on the airport departure business during the verification process. Among all the user access traffic in the area corresponding to the partition group, the proportion of user access traffic at the first batch of preset airports is much greater than the proportion of user access traffic at the second batch of preset airports.

[0066] Optionally, if the embodiment of the present application does not consider the verification of the upgraded departure system, it is only necessary to treat the user access traffic of all airports as the second type of user access traffic, that is, the business partition with a user access traffic proportion of 100% is the second partition.

[0067] After each upgrade, the server will record the partition information of each business partition, such as the traffic proportion of the processed user access traffic, the airport to which the user access traffic belongs, the current version information, the time when the update was completed, the partition identification, etc. This is convenient for operation and maintenance personnel to troubleshoot problems when there are problems in the upgrade or operation of the application system.

[0068] Optionally, when the server records the status of each business partition in real time, obtain the partition status table used to record the status of the business partition, and query the airport to which the user access traffic assigned to each business partition belongs when the last upgrade was completed, so as to determine the type of user access traffic handled by each business partition.

[0069] It is also possible to count the proportion of user access traffic processed by each business partition, and use the business partition with zero traffic proportion as the first partition for subsequent system upgrades. Since the user access traffic processed by the first partition is zero, the subsequent upgrade will not affect the normal processing of user access traffic by other partitions. Moreover, if the first partition encounters an operation error during the upgrade process, since each partition is independent of each other, it will not affect the normal operation of other partitions. Based on the above situation, upgrading the first partition can achieve upgrades without interrupting the application system.

[0070] While determining the first partition, it is also necessary to determine the second partition that processes the largest proportion of user access traffic in the partition group, so that after the subsequent upgrade is successful, the user access traffic of the second partition can be allocated to the upgraded partition.

[0071] Step S130, upgrading the system version of the first partition to the target version to obtain an upgraded first partition.

[0072] Step S140: distribute the second type of user access traffic processed by the second partition to the upgraded first partition that meets the preset conditions.

[0073] Reference Figure 4, a schematic diagram of the business partition upgrade process provided in an embodiment of the present application, taking a partition group including two business partitions A1 and A2 as an example, after the last upgrade was completed, partition A1 had the highest system version, and processed 100% of the user access traffic, that is, the first batch of preset airports, that is, all airports in the preset area, then in this upgrade, partition A2 with a traffic share of 0 is upgraded as the first partition. The system version of A2 is upgraded to the target version 1.3, which is the latest version. After the upgrade of the first partition A2 is completed, 100% of the user access traffic is diverted to A2, so that users can use the latest version of the application system. In an embodiment of the present application, "version" is a logical concept. Whenever the software service within a partition is updated, the "version" of the partition changes, and is refreshed as the update time changes. The larger the version value, the newer the update time.

[0074] In summary, the departure system to be upgraded in the present application is deployed with a partition group corresponding to each area, each partition group includes at least two business partitions, and the business partition can process the user access traffic for departure business, so that the upgrade of each departure area business will not affect each other. When upgrading the departure system, first classify each business partition in the partition group, and upgrade the business partition with zero user access traffic as the first partition, without affecting the normal operation of other business partitions with user access traffic processing needs. After the upgrade of the first partition is completed, the user access traffic of the airport is allocated to the upgraded first partition, and the upgraded departure system is used to process the user access traffic. The upgrade task of the departure system is completed without interrupting the processing of the user access traffic by the departure system, and the upgrade is carried out by dividing the business groups by region. Compared with the overall upgrade of the departure system, the upgrade efficiency of the departure system can be improved.

[0075] Next, other possible implementations of the above departure system upgrade method are described.

[0076] In an embodiment of the present application, allocating user access traffic to the upgraded first partition also requires a prerequisite, that is, the upgraded first partition meets the preset conditions, which may include: no upgrade errors occur during the upgrade process, the upgraded first partition can handle user access traffic normally, and other conditions, which can be set according to the needs of the operation and maintenance personnel.

[0077] Optionally, the embodiment of the present application takes the preset condition that the upgraded first partition can handle user access traffic normally, so it is necessary to pre-introduce a small amount of user access traffic to detect whether the upgraded first partition can handle it normally, so as to determine whether to use the upgraded first partition as the main partition and allocate the user access traffic with the largest traffic proportion.

[0078] by Figure 4As shown, when the partition group where the upgraded first partition A2 is located has only two business partitions, the user access traffic with a preset traffic proportion can be allocated to the upgraded first partition; detect whether there is any abnormality in the processing of the user access traffic by the upgraded first partition within the preset time; when there is no abnormality in the processing of the user access traffic by the upgraded first partition within the preset time, it is determined that the upgraded first partition meets the preset conditions, and user access traffic is allocated to the upgraded first partition until the traffic proportion of the user access traffic processed by the upgraded first partition reaches the maximum traffic proportion.

[0079] From the user access traffic processed by A1, the user access traffic with a preset traffic percentage is extracted. The user access traffic with the preset traffic percentage is used to detect the processing capacity of A2. The preset traffic percentage can be as small as possible, such as 20%, to minimize the impact range when A2 has an operation error.

[0080] 20% of the user access traffic in A1 is allocated to the upgraded A2 for verification. Within the preset time, the upgraded A2 handles 20% of the user access traffic to see if there are any errors or abnormal processing results. If there are no abnormalities, it proves that the upgraded A2 can handle the user access traffic normally. The remaining 80% of the user access traffic is allocated to the upgraded A2, so that all users can experience the updated application system and improve the user experience.

[0081] In the case where the partition group contains three of the business partitions, the process of verifying and allocating user access traffic to the upgraded first partition may include: determining a third partition in the partition group, the third partition being a business partition that processes a third type of user access traffic, the third type being user access traffic of a second batch of preset airports used to verify the upgraded departure business processing capability; the sum of the user access traffic of the first batch of preset airports and the second batch of preset airports being all user access traffic within the preset area corresponding to the partition group; allocating the user access traffic processed by the third partition to the upgraded first partition; detecting whether there is any abnormality in the processing of user access traffic by the upgraded first partition within a preset time; and determining that the upgraded first partition meets the preset conditions and allocating the first type of user access traffic processed by the second partition to the upgraded first partition if there is no abnormality in the processing of user access traffic by the upgraded first partition within the preset time.

[0082] Referring to the instructions corresponding to steps S110 and S120, the airports in the preset area are divided into two batches according to the scale of the airports and the purpose of the user access traffic. The user access traffic of the first batch of preset airports is processed by the high-version business partition, and the user access traffic of the second batch of preset airports is used to verify the processing capacity of the business partition that has just been upgraded. Among them, the proportion of user access traffic of the first batch of preset airports is much larger than that of the second batch of preset airports. For example, the user access traffic of the first batch of preset airports is 80% of all user access traffic in the preset area, and the remaining 20% ​​is the user access traffic of the second batch of preset airports.

[0083] Optional, see Figure 5 , an example diagram of an upgrade of a service partition provided in an embodiment of the present application, in which "one" in each table of a, b, c, and d in the figure represents the first partition, "two" represents the second partition, and "three" represents the third partition, and the second column is the version number corresponding to each partition. In order to verify whether the upgraded first partition can normally handle user access traffic, the embodiment of the present application deploys three service partitions in each partition group when deploying service partitions, including: a blank area, a common area, and a verification area. The first partition, the second partition, and the third partition are determined by identifying the traffic proportion of the user access traffic of each partition. Among them, the blank area is a service partition with a traffic proportion of zero, which is used for no-traffic upgrade and can be determined as the first partition; the verification area is a partition for verifying the processing capacity of user access traffic, which is used to process the user access traffic of the second batch of preset airports, and the traffic proportion is greater than zero and less than the maximum traffic proportion, which can be determined as the second partition; the common area is used to process the user access traffic of the first batch of preset airports, and the traffic proportion of the user access traffic is the service partition with the maximum traffic proportion, which can be used as the third partition.

[0084] First, upgrade the first partition to obtain the first partition with version 1.3, complete the upgrade, and obtain Table b. Further, verify the first partition with version 1.3. The server can use the traffic allocation tool to achieve "one-click switching" between the user access traffic of the second partition and the user access traffic of the first partition, complete the unified transfer of traffic within a fixed time, and uniformly allocate the user access traffic of the second partition to the upgraded first partition, and obtain Figure 5 It can be understood that "one, two, three" in Table c represent the traffic or traffic type corresponding to each partition, that is, "two" in Table c represents the business partition whose traffic type is the user access traffic of the second batch of preset airports.

[0085] If no exception occurs in the processing of user access traffic during the partition verification of version 1.3, the user access traffic of the third partition (or "ordinary zone") is converted to the partition of version 1.3 through "one-click conversion" of user access traffic, thereby realizing the version upgrade of the main partition.

[0086] It can be understood that the upgrade and verification of the partition is completed by switching the user access traffic. After the upgrade is completed, the second type of user access traffic used for verification is switched to the business partition with a newer version. If during the switching process, the second type of user access traffic is left in the blank area with the lowest version, refer to the steps below to switch the second type of user access traffic to a business partition with a higher update level compared to the blank area, so as to avoid the second type of user access traffic being unable to be processed by the updated system when there is no upgrade demand. Specifically, it includes: comparing the version update level of the current version corresponding to the second partition and the third partition, determining the business partition with a higher version update level and the business partition with a lower version update level in the second partition and the third partition; allocating the third type of user access traffic processed by the upgraded first partition to the business partition with a higher version update level.

[0087] As can be seen from the above, a preset time is required to verify the processing capacity of the first partition after the upgrade for user access traffic. In the embodiment of the present application, the preset time is the time period from this upgrade to the next upgrade. It can be seen from Table a that after the last upgrade, the partition of version 1.2 has always been a verification zone. Therefore, at the beginning of this upgrade, the verification time of the partition of version 1.2 meets the preset time. If there is no abnormality in the user access traffic of the partition of version 1.2, the user access traffic of the third partition is "switched with one key" with the user access traffic of the partition of version 1.2, so as to realize the upgrade of the main partition. In the next upgrade, the partition of version 1.3 is "switched with one key" with the user access traffic of the third partition at that time, so as to upgrade the main partition to version 1.3.

[0088] However, if the preset time does not need to wait until the next upgrade, the user access traffic of the third partition and the user access traffic of the partition of version 1.3 can be "switched with one click" when the verification time reaches the preset time.

[0089] In summary, the embodiments of the present application can verify the user access traffic processing capability of the upgraded first partition by allocating user access traffic between partitions, thereby reducing the probability of system errors after the upgrade.

[0090] Optionally, the embodiment of the present application may also allocate and verify only based on the proportion of user access traffic without considering the impact of verification failure on airport business. For example, the traffic proportions of the first partition, the second partition, and the third partition are 0, 10%, and 90%, respectively. During verification, the traffic proportion of the first partition is 10%, the traffic proportion of the second partition is 0, and the traffic proportion of the third partition is 90%. When the "one-key switching" function is not available, 80% of the user access traffic can be retrieved from the 90% user access traffic and allocated to the first partition, so that the traffic proportion of the first partition reaches 90%, and the upgrade of the main partition is realized. In this case, there is still 10% of the user access traffic in the partition that is not the latest version. In order to improve the user experience of this part of users, 10% of the user access traffic can also be allocated to the upgraded first partition.

[0091] However, in order to ensure that the verification partition has user access traffic for verification during the next upgrade, 10% of the user access traffic needs to be separated from the upgraded first partition. At the same time, in order to improve the processing capability of this 10% of user access traffic, the version update levels of the current versions corresponding to the third partition and the second partition can be compared. In the third partition and the second partition, the business partitions with a higher version update level and the business partitions with a lower version update level can be determined; the remaining user access traffic of the third partition is allocated to the business partition with a higher version update level, so that the traffic proportion of the user access traffic processed by the business partition with a lower version update level is zero.

[0092] A partition with a higher version is determined between the second and third partitions to handle the remaining 10% of user access traffic, so as to improve the experience of these 10% of users on the departure system as much as possible. The user access traffic of the partition with a lower version is cleared to zero, so that in the next upgrade, there can be a first partition for zero-traffic upgrade among the three business partitions.

[0093] Under normal circumstances, the application system will continuously update its version and constantly change the traffic proportion of different business partitions. However, when there is an abnormality in the processing of user access traffic by the upgraded first partition, the upgraded first partition is repaired to obtain a repaired first partition; if there is an abnormality in the processing of user access traffic by the repaired first partition, the repaired first partition is rolled back to the initial version of the first partition, and the initial version is the system version before the first partition is upgraded.

[0094] Reference Figure 4Whether in the verification process or in the process where the 1.3 version of A2 has become the primary partition and processes 100% of the user access traffic, as long as A2 processes the user access traffic abnormally, A2 will be repaired first. If the repaired A2 processes the user access traffic no longer abnormally, the subsequent steps will be performed based on the repaired A2. If the repaired A2 still processes the user access traffic abnormally, the 1.3 version of A2 will be rolled back to the 1.1 version, with priority given to ensuring that there are no abnormalities in the processing of user access traffic, and then considering whether the partition version is the latest version.

[0095] Alternatively, when there is an abnormality in the processing of user access traffic by the upgraded first partition, the user access traffic currently processed by the upgraded first partition is allocated to the second partition or the business partition with the largest traffic proportion.

[0096] If the rollback still fails to resolve the abnormality in A2's processing of user access traffic, you can consider diverting the user access traffic to a partition without abnormalities. Alternatively, after discovering the abnormality, instead of repairing or rolling back, you can directly switch partitions to avoid abnormalities in the processing of user access traffic.

[0097] Optionally, the above-mentioned measures adopted for the upgraded first partition with abnormal traffic processing may also be applied to any other partitions to avoid abnormal processing of user access traffic by other partitions and improve user experience.

[0098] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0099] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0100] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.

[0101] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0102] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0103] The following is a description of a departure system upgrade device provided in an embodiment of the present application. The departure system upgrade device described below and the departure system upgrade method described above can refer to each other.

[0104] First, combine Figure 6 , corresponding to the server for running the departure system, the server is deployed with a partition group corresponding to each preset area, and the partition group contains at least two business partitions, and the business partition is used to perform departure business processing on the user access traffic in the preset area. Figure 6 As shown, the departure system upgrade device may include:

[0105] The traffic classification unit 100 is used to determine the type of user access traffic processed by each of the service partitions in the partition group, and the type of user access traffic includes at least a first type and a second type, the first type is the user access traffic of zero, and the second type is the user access traffic of the first batch of preset airports;

[0106] A partition marking unit 200 is used to classify each of the service partitions according to the type of user access traffic processed by each of the service partitions to obtain a first partition and a second partition, wherein the first partition is a service partition for processing the user access traffic of the first type, and the second partition is a service partition for processing the user access traffic of the second type;

[0107] An upgrading unit 300, configured to upgrade the system version of the first partition to the target version to obtain an upgraded first partition;

[0108] The traffic distribution unit 400 is used to distribute the user access traffic of the second type processed by the second partition to the upgraded first partition that meets the preset conditions.

[0109] In summary, in this application, the server running the departure system is deployed with a partition group corresponding to each area, each partition group includes at least two business partitions, and the business partition can process the user access traffic for departure business, so that the upgrade of each departure area business does not affect each other. When upgrading the departure system, first classify each business partition in the partition group, and upgrade the business partition with zero user access traffic as the first partition, without affecting the normal operation of other business partitions with user access traffic processing needs. After the upgrade of the first partition is completed, the user access traffic of the airport is allocated to the upgraded first partition, and the upgraded departure system is used to process the user access traffic. The upgrade task of the departure system is completed without interrupting the processing of the user access traffic by the departure system, and the business groups are divided by region for upgrade. Compared with the overall upgrade of the departure system, the upgrade efficiency of the departure system can be improved.

[0110] In a possible implementation, when the partition group includes three service partitions, the traffic distribution unit 400 includes:

[0111] A three-zone determination subunit is used to determine a third zone within the zone group, the third zone is a service zone for processing the third type of user access traffic, the third type is the user access traffic of the second batch of preset airports used to verify the upgraded departure service processing capability; the sum of the user access traffic of the first batch of preset airports and the second batch of preset airports is the total user access traffic within the preset area corresponding to the zone group;

[0112] A first traffic distribution subunit, configured to distribute the user access traffic processed by the third partition to the upgraded first partition;

[0113] A processing effect detection subunit, used to detect whether there is any abnormality in the processing of the user access traffic by the upgraded first partition within a preset time;

[0114] The second sub-unit of traffic distribution is used to determine that the upgraded first partition meets the preset conditions within a preset time, and distribute the first type of user access traffic processed by the second partition to the upgraded first partition, provided that there is no abnormality in the processing of the user access traffic by the upgraded first partition.

[0115] In a possible implementation, the traffic distribution unit 400 further includes:

[0116] A version comparison subunit, used to compare the version update levels corresponding to the second partition and the third partition, and determine a business partition with a higher version update level and a business partition with a lower version update level in the second partition and the third partition;

[0117] The third traffic allocation subunit is used to allocate the third type of user access traffic processed by the upgraded first partition to the business partition with a higher version update degree.

[0118] In a possible implementation, the method further includes:

[0119] A partition repair subunit, configured to repair the upgraded first partition to obtain a repaired first partition when the upgraded first partition processes the user access traffic abnormally;

[0120] The rollback subunit is used to roll back the repaired first partition to the initial version of the first partition if there is an abnormality in the processing of the user access traffic by the repaired first partition, and the initial version is the system version before the first partition is upgraded.

[0121] In a possible implementation, the method further includes:

[0122] The fourth traffic distribution subunit is used to distribute the user access traffic currently processed by the upgraded first partition to the second partition when there is an abnormality in the processing of the user access traffic by the upgraded first partition.

[0123] In a possible implementation, the traffic classification unit 100 includes:

[0124] A status table acquisition subunit, used to acquire a partition status table of the departure system, wherein the partition status table stores at least the system version corresponding to each business partition and the airport corresponding to the processed user access traffic after the last upgrade is completed;

[0125] An airport classification subunit, configured to determine, based on the airports corresponding to the user access traffic in the partition status table, that the user access traffic belonging to the first batch of preset airports is of the second type;

[0126] A traffic statistics subunit, used to count the proportion of the user access traffic processed by each of the service partitions;

[0127] The traffic type determination subunit is used to determine the type of the processed user access traffic corresponding to the service partition with a proportion of zero as the first type.

[0128] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0129] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0130] The departure system upgrade device provided in the embodiment of the present application can be applied to departure system upgrade equipment.

[0131] Figure 7 The schematic diagram of the structure of the departure system upgrade equipment is shown in FIG. Figure 7 , the structure of the departure system upgrade device may include: at least one processor 10, at least one memory 20, at least one communication bus 30 and at least one communication interface 40;

[0132] In the embodiment of the present application, the number of the processor 10, the memory 20, the communication bus 30, and the communication interface 40 is at least one, and the processor 10, the memory 20, and the communication interface 40 communicate with each other through the communication bus 30;

[0133] The processor 10 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention;

[0134] The memory 20 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory;

[0135] The memory stores a program, and the processor can call the program stored in the memory, and the program is used to implement each processing flow in the aforementioned departure system upgrade solution.

[0136] An embodiment of the present application further provides a storage medium, which can store a program suitable for execution by a processor, and the program is used to implement each processing flow in the aforementioned departure system upgrade method.

[0137] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0138] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0139] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0140] According to one or more embodiments of the present disclosure, Example 1 provides a departure system upgrade method, which is applied to a server running a departure system, wherein the server is deployed with a partition group corresponding to each preset area, and the partition group includes at least two service partitions, and the service partition is used to perform departure service processing on user access traffic in the preset area;

[0141] The departure system upgrade method comprises:

[0142] When a request to upgrade the departure system to a target version is received, the upgrade process of the partition group corresponding to each preset area includes:

[0143] Determine the type of user access traffic processed by each of the service partitions in the partition group, the type of user access traffic at least includes: a first type and a second type, the first type is that the user access traffic is zero, and the second type is the user access traffic of the first batch of preset airports;

[0144] Classifying each of the service partitions according to the type of user access traffic processed by each of the service partitions to obtain a first partition and a second partition, wherein the first partition is a service partition for processing the user access traffic of the first type, and the second partition is a service partition for processing the user access traffic of the second type;

[0145] Upgrading the system version of the first partition to the target version to obtain an upgraded first partition;

[0146] The user access traffic of the second type processed by the second partition is allocated to the upgraded first partition that meets a preset condition.

[0147] According to one or more embodiments disclosed in the present application, Example 2 provides the method of Example 1, in which, when the partition group includes three service partitions, the user access traffic of the second category processed by the second partition is allocated to the upgraded first partition that meets the preset condition, including:

[0148] Determine a third partition within the partition group, the third partition being a service partition for processing the third type of user access traffic, the third type being user access traffic of the second batch of preset airports for verifying the upgraded departure service processing capability; the sum of the user access traffic of the first batch of preset airports and the second batch of preset airports is the total user access traffic within the preset area corresponding to the partition group;

[0149] Allocating the user access traffic processed by the third partition to the upgraded first partition;

[0150] Detecting whether there is any abnormality in the processing of the user access traffic by the upgraded first partition within a preset time;

[0151] Within a preset time, if there is no abnormality in the processing of the user access traffic by the upgraded first partition, it is determined that the upgraded first partition meets the preset conditions, and the user access traffic of the first type processed by the second partition is allocated to the upgraded first partition.

[0152] According to one or more embodiments disclosed in the present application, Example 3 provides the method of Example 2, further comprising:

[0153] Comparing the version update levels corresponding to the second partition and the third partition, respectively, determining a business partition with a higher version update level and a business partition with a lower version update level in the second partition and the third partition;

[0154] The user access traffic of the third type processed by the upgraded first partition is allocated to the business partition with a higher version update degree.

[0155] According to one or more embodiments disclosed in the present application, Example 4 provides the method of any one of Examples 1 to 3, further comprising:

[0156] When there is an abnormality in the processing of the user access traffic by the upgraded first partition, repairing the upgraded first partition to obtain a repaired first partition;

[0157] If there is an abnormality in the processing of the user access traffic by the repaired first partition, the repaired first partition is rolled back to the initial version of the first partition, where the initial version is the system version before the first partition is upgraded.

[0158] According to one or more embodiments disclosed in the present application, Example 5 provides the method of any one of Examples 1 to 3, further comprising:

[0159] In the case that there is an abnormality in the processing of the user access traffic by the upgraded first partition, the user access traffic currently processed by the upgraded first partition is allocated to the second partition.

[0160] According to one or more embodiments disclosed in the present application, Example 6 provides a method in any one of Examples 1 to 3, wherein determining the type of user access traffic processed by each of the service partitions includes:

[0161] Acquire a partition status table of the departure system, wherein the partition status table stores at least the system version corresponding to each business partition and the airport corresponding to the processed user access traffic after the last upgrade is completed;

[0162] According to the airports corresponding to the user access traffic in the partition status table, determining that the user access traffic belonging to the first batch of preset airports is the second type;

[0163] Counting the proportion of the user access traffic processed by each of the business partitions;

[0164] The type of user access traffic processed corresponding to the business partition with a zero percentage is determined as the first type.

[0165] According to one or more embodiments of the present disclosure, Example 7 provides a departure system upgrade device, which is applied to a server running a departure system, wherein the server is deployed with a partition group corresponding to each preset area, and the partition group includes at least two service partitions, and the service partition is used to perform departure service processing on user access traffic in the preset area;

[0166] The departure system upgrading device comprises:

[0167] A traffic classification unit, used to determine the type of user access traffic processed by each of the service partitions in the partition group, the type of user access traffic at least including: a first type and a second type, the first type being that the user access traffic is zero, and the second type being the user access traffic of the first batch of preset airports;

[0168] A partition marking unit, configured to classify each of the service partitions according to the type of user access traffic processed by each of the service partitions to obtain a first partition and a second partition, wherein the first partition is a service partition for processing the user access traffic of the first type, and the second partition is a service partition for processing the user access traffic of the second type;

[0169] An upgrading unit, used for upgrading the system version of the first partition to a target version to obtain an upgraded first partition;

[0170] The traffic distribution unit is used to distribute the user access traffic of the second type processed by the second partition to the upgraded first partition that meets the preset conditions.

[0171] According to one or more embodiments of the present disclosure, Example 8 provides a departure system upgrade device, including: a memory and a processor;

[0172] The memory is used to store a computer program, and the processor executes the computer program to implement the steps of any one of the departure system upgrade methods.

[0173] According to one or more embodiments of the present disclosure, Example 9 is a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, each step of any one of the departure system upgrade methods is implemented.

[0174] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

[0175] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.

[0176] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

Claims

1. A departure system upgrade method, characterized in that: A server used for running a departure system, wherein the server is deployed with a partition group corresponding to each preset area, and the partition group includes at least two service partitions, and the service partition is used to perform departure service processing on user access traffic in the preset area; The departure system upgrade method comprises: When a request to upgrade the departure system to a target version is received, the upgrade process of the partition group corresponding to each preset area includes: Determine the type of user access traffic processed by each of the service partitions in the partition group, the type of user access traffic at least includes: a first type and a second type, the first type is that the user access traffic is zero, and the second type is the user access traffic of the first batch of preset airports; Classifying each of the service partitions according to the type of user access traffic processed by each of the service partitions to obtain a first partition and a second partition, wherein the first partition is a service partition for processing the first type of user access traffic, and the second partition is a service partition for processing the second type of user access traffic, and each of the service partitions has the same outbound service processing function for the user access traffic; Upgrading the system version of the first partition to the target version to obtain an upgraded first partition; Allocating the user access traffic of the second type processed by the second partition to the upgraded first partition that meets a preset condition; Wherein, in the case where the partition group includes three service partitions, allocating the second type of user access traffic processed by the second partition to the upgraded first partition that meets a preset condition includes: A third partition is determined within the partition group, the third partition being a service partition for processing the third type of user access traffic, the third type being user access traffic of the second batch of preset airports for verifying the upgraded departure service processing capability; the sum of the user access traffic of the first batch of preset airports and the second batch of preset airports is the total user access traffic of all users in the preset area corresponding to the partition group, and the user access traffic of each airport in the second batch of preset airports is less than the user access traffic of each airport in the first batch of preset airports; Allocating the user access traffic processed by the third partition to the upgraded first partition; Detecting whether there is any abnormality in the processing of the user access traffic by the upgraded first partition within a preset time; Within a preset time, if there is no abnormality in the processing of the user access traffic by the upgraded first partition, it is determined that the upgraded first partition meets the preset conditions, and the user access traffic of the first type processed by the second partition is allocated to the upgraded first partition.

2. The departure system upgrade method according to claim 1, characterized in that: Also includes: Comparing the version update levels corresponding to the second partition and the third partition, respectively, determining a business partition with a higher version update level and a business partition with a lower version update level in the second partition and the third partition; The user access traffic of the third type processed by the upgraded first partition is allocated to the business partition with a higher version update degree.

3. The departure system upgrade method according to any one of claims 1-2, characterized in that: Also includes: When there is an abnormality in the processing of the user access traffic by the upgraded first partition, repairing the upgraded first partition to obtain a repaired first partition; If there is an abnormality in the processing of the user access traffic by the repaired first partition, the repaired first partition is rolled back to the initial version of the first partition, where the initial version is the system version before the first partition is upgraded.

4. The departure system upgrade method according to any one of claims 1-2, characterized in that: Also includes: In the case that there is an abnormality in the processing of the user access traffic by the upgraded first partition, the user access traffic currently processed by the upgraded first partition is allocated to the second partition.

5. The departure system upgrade method according to claim 1, characterized in that: The determining the type of user access traffic processed by each of the service partitions in the partition group includes: Acquire a partition status table of the departure system, wherein the partition status table stores at least the system version corresponding to each business partition and the airport corresponding to the processed user access traffic after the last upgrade is completed; According to the airports corresponding to the user access traffic in the partition status table, determining that the user access traffic belonging to the first batch of preset airports is the second type; Counting the proportion of the user access traffic processed by each of the business partitions; The type of user access traffic processed corresponding to the business partition with a zero percentage is determined as the first type.

6. A departure system upgrade device, characterized in that: A server used for running a departure system, wherein the server is deployed with a partition group corresponding to each preset area, and the partition group includes at least two service partitions, and the service partition is used to perform departure service processing on user access traffic in the preset area; The departure system upgrading device comprises: A traffic classification unit, used to determine the type of user access traffic processed by each of the service partitions in the partition group, the type of user access traffic at least including: a first type and a second type, the first type being that the user access traffic is zero, and the second type being the user access traffic of the first batch of preset airports; a partition marking unit, configured to classify each of the service partitions according to the type of user access traffic processed by each of the service partitions to obtain a first partition and a second partition, wherein the first partition is a service partition for processing the first type of user access traffic, and the second partition is a service partition for processing the second type of user access traffic, and each of the service partitions has the same outbound service processing function for the user access traffic; An upgrading unit, used for upgrading the system version of the first partition to a target version to obtain an upgraded first partition; The traffic distribution unit is used to distribute the user access traffic of the second type processed by the second partition to the upgraded first partition that meets the preset conditions.

7. A departure system upgrade device, characterized in that: include: Memory and processor; The memory is used to store a computer program, and the processor executes the computer program to implement the steps of the departure system upgrade method according to any one of claims 1 to 5.

8. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, each step of the departure system upgrade method as claimed in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Software upgrading method and system

    CN110049073A

  • Hypervisor subpartition as concurrent upgrade

    US20140380297A1