Service access method and device without suspending migration task, equipment, medium and product

By controlling the new and old systems to respond to access requests based on the access path judgment scheme during the access system migration process, the problems of business continuity and user experience during the access system migration process are solved, and low-cost and efficient access quality assurance is achieved.

CN120378475APending Publication Date: 2025-07-25AGRICULTURAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510688976.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-27
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

Existing access system migration methods can easily lead to negative impacts on business continuity and user experience during the upgrade and switching process, or are not suitable for short-term migration tasks due to high complexity, and can easily lead to data inconsistency between new and old systems.

Method used

By determining the old and new access systems corresponding to the access service request, and determining the access path scheme based on the access path, the old and new systems respond to access requests are controlled to ensure the continuity and quality of access services and avoid downtime and double-write solutions.

Benefits of technology

It realizes that there is no need to suspend access to services during system updates, ensures business continuity and access quality, improves user experience, and reduces migration costs and complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378475A_ABST
    Figure CN120378475A_ABST
Patent Text Reader

Abstract

The invention discloses a service access method and device without suspending a migration task, equipment, a medium and a product, and relates to the technical field of information processing.The method comprises the steps that when an access service request of a user is received, a new access system and an original access system corresponding to the access service request are determined, and whether the original access system meets service access conditions or not is determined; when the original access system meets the business access condition, determining an access path judgment scheme of the user based on the access service request; and checking the new access system and the original access system by utilizing the access path judgment scheme to obtain a business access scheme of the access service request, and controlling the original access system and / or the new access system to respond to the access service request according to the business access scheme. According to the technical scheme, the access service does not need to be paused, the access service does not need to be executed by means of middleware or a double-writing scheme, the service continuity and the access quality can be simply ensured with low cost, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of information processing, and in particular, to a service access method, device, equipment, medium and product for migrating tasks without suspension. Background Art

[0002] In the informatization construction of modern enterprises, the upgrade and switch of access systems are inevitable. With the changes in business requirements and the progress of technology, access systems also need to be continuously updated and optimized to ensure that they can provide more comprehensive and real-time services for users.

[0003] Common access system migration methods include downtime migration and non-downtime migration. Downtime migration is to plan downtime and perform data migration during the downtime period. It is necessary to notify relevant users of the access system on a large scale, and the downtime is relatively long. During the downtime, the access system cannot respond to any access tasks, which will have a negative impact on business continuity and user experience. Non-downtime migration requires the introduction of middleware or the adoption of a dual-write scheme, with extremely high complexity. It is not suitable for short-term migration tasks, and it is easy to cause bilateral data inconsistency between the new and old systems, affecting the correctness of access results and even interrupting access tasks.

[0004] Therefore, designing a service access method with low complexity and no interruption to ensure access quality and business continuity and improve the user experience is one of the urgent problems to be solved at present. Summary of the Invention

[0005] The present invention provides a service access method, device, equipment, medium and product for migrating tasks without suspension, which is a service access method with low complexity and no interruption, and can ensure access quality and business continuity and improve the user experience.

[0006] According to one aspect of the present invention, there is provided a service access method for migrating tasks without suspension, the method comprising:

[0007] When receiving a user's access service request, determining the new access system and the original access system corresponding to the access service request, and determining whether the original access system meets the business access conditions;

[0008] When the original access system meets the business access conditions, determining a user's access path judgment scheme based on the access service request;

[0009] Using the access path judgment scheme, inspecting the new access system and the original access system to obtain a business access scheme for the access service request, and controlling the original access system and / or the new access system to respond to the access service request according to the business access scheme.

[0010] According to another aspect of the present invention, there is provided a service access device for not pausing a migration task. The service access device for not pausing a migration task is used to implement the service access method for not pausing a migration task in any embodiment of the present invention. The device includes:

[0011] A system determination module, configured to determine a new access system and an original access system corresponding to an access service request when receiving an access service request from a user, and determine whether the original access system meets the service access conditions;

[0012] A solution determination module, configured to determine a user's access path judgment solution based on the access service request when the original access system meets the service access conditions;

[0013] A service access module, configured to use the access path judgment solution to inspect the new access system and the original access system to obtain a service access solution for the access service request, and control the original access system and / or the new access system to respond to the access service request according to the service access solution.

[0014] According to another aspect of the present invention, there is provided an electronic device, which includes:

[0015] At least one processor; and a memory communicatively connected to the at least one processor;

[0016] Wherein, the memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can execute the service access method for not pausing a migration task in any embodiment of the present invention.

[0017] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the service access method for not pausing a migration task in any embodiment of the present invention when executed.

[0018] According to another aspect of the present invention, there is provided a computer program product including a computer program, which implements the service access method for not pausing a migration task in any embodiment of the present invention when executed by a processor.

[0019] The service access method for non - paused migration tasks of the present invention includes: when receiving an access service request from a user, determining the new access system and the original access system corresponding to the access service request, and determining whether the original access system meets the service access conditions; when the original access system meets the service access conditions, determining a user access path judgment scheme based on the access service request; using the access path judgment scheme to verify the new access system and the original access system to obtain a service access scheme for the access service request, and controlling the original access system and / or the new access system to respond to the access service request according to the service access scheme. The technical solution of the present invention will, when both the new access system and the original access system have access qualifications (usually system updates), determine the system that responds to the access service and the service access scheme for the access service according to the type of the access service request generated by the user, and process the access service specifically. For example, when the new system can respond to the access service request, control the new system to respond to the access service request; when the new system cannot respond to the access service request, control the old system to respond to the access service request to provide continuous access services. That is, during the system update process, there is no need to pause the access service, nor is it necessary to rely on middleware or a dual - writing scheme to execute the access service, which can simply and low - cost ensure service continuity and access quality, and improve the user experience. It solves both the problem that downtime migration requires large - scale notification of relevant users of the access system, has a long downtime, and the access system cannot respond to any access tasks during downtime, which will have a negative impact on service continuity and user experience; and the problem that non - downtime migration requires the introduction of middleware or the adoption of a dual - writing scheme, which is extremely complex, not suitable for short - term migration tasks, and easily causes bilateral data inconsistency between the new and old systems, affecting the correctness of access results and even interrupting access tasks.

[0020] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the present invention, the accompanying drawings required for the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0022] Figure 1 is a flowchart showing a service access method for non - paused migration tasks provided by the present invention;

[0023] Figure 2 is a flowchart showing another service access method for non - paused migration tasks provided by the present invention;

[0024] Figure 3 is a schematic diagram of a routing query process provided by the present invention;

[0025] Figure 4 is a schematic diagram of a bilateral agency process provided by the present invention;

[0026] Figure 5 is a schematic diagram of a data migration process provided by the present invention;

[0027] Figure 6 is a schematic structural diagram of a service access device that does not pause the migration task provided by the present invention;

[0028] Figure 7 is a schematic structural diagram of an electronic device provided by the present invention. Detailed implementation manners

[0029] In order to enable those skilled in the art of the present technology to better understand the solution of the present invention, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0030] It should be noted that the terms "first", "second", "initial", "intermediate", "candidate", "alternative", "target", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0031] For the update and upgrade work of the system, it is necessary to migrate the routing information and data information in the old system (i.e., the original access system) to the new system (i.e., the new access system). Once the system update task starts, the information migration work will also be initiated. At that time, it is considered that the new system has the ability to respond to access services. What specific access services the system can respond to still needs to refer to the migrated routing information and data information in the new system; during the system upgrade and update process, both the new system and the old system have routing information and data information, and both systems may have the ability to respond to access services; after the system is completely upgraded, the routing information and data information in the old system will be cleared. At that time, the old system will no longer have the ability to respond to access services, and all access services will be responded to by the new system.

[0032] Currently, in the aspect of the migration between the old and new application systems, the commonly adopted solutions are lossy migration and smooth migration. Lossy migration requires the service to be paused for a period of time (downtime), which is not suitable for financial transaction systems with high availability requirements; smooth migration requires the use of dual-write and dual-send technologies. In order to ensure data consistency, the dual-write and dual-send strategies require a large application transformation cost and cannot perform data migration and traffic switching efficiently and quickly. Dual-write generally means that during the migration of the old and new application databases, both the old and new databases provide services simultaneously, and data is written into both databases at the same time. Dual-send means that both the old and new application systems provide services to the outside world simultaneously. Data migration refers to the process of migrating data from one database system to another database system, and traffic switching refers to the process of gradually switching the entry of external network requests from the old system to the new system. The service access method of the present invention does not need to be paused during the switching process between the old and new systems. That is, the present invention provides a service access method that can be carried out during the switching process between the old and new systems, and can achieve a business method with low cost, small influence range and continuity.

[0033] Figure 1 It is a schematic flowchart of a service access method for the non-pause migration task provided by the present invention. This embodiment is applicable to access services before, during and after the migration task, ensuring the execution quality and business continuity of the access service without pausing the migration task. This method can be executed by the service access device for the non-pause migration task provided by the present invention. This device can be implemented in the form of hardware and / or software. In a specific embodiment, this device can be integrated in an electronic device. The following embodiments will be described by taking this device integrated in an electronic device as an example. Refer to Figure 1 , the method specifically includes the following steps:

[0034] S101. When receiving a user's access service request, determine the new access system and the original access system corresponding to the access service request, and determine whether the original access system meets the business access conditions.

[0035] Among them, an access service request can be understood as the demand information sent by a user to an access system to obtain corresponding data, resources, or perform operations. Taking a database service request as an example, the access service request includes querying data, inserting data, updating data, and deleting data. Generally, there is one access system, but when the access system is being updated or optimized, in order not to suspend the service, data migration and traffic switching can be carried out while controlling the new access system and / or the original access system to execute access services according to the progress of data migration and traffic switching, and there can be two access systems. The business access condition can be understood as the basis for determining whether the access system has the qualification for business response. For example, after the new system is updated, the old system will not have the access qualification, so after the new system is updated, the old system will not meet the business access condition; after a certain period of time (30 minutes, 2 hours, 5 hours, etc.) after the new system is updated, the old system will not have the access qualification, so after the new system is updated and the above-mentioned period of time (30 minutes, 2 hours, 5 hours, etc.) has passed, the old system will not meet the business access condition.

[0036] Specifically, the current version of access system A is V3. If the updated and optimized version of access system A is V4, then the original access system is access system A with version V3, and the new access system is access system A with version V4. When the access system has not started to be updated (i.e., the data information and routing information have not started to be migrated), only the access system A with version V3 executes the access service; after the system update is completed (i.e., all the data information and routing information have been migrated), only the access system A with version V4 executes the access service; during the system update process (i.e., the data information and routing information have started to be migrated but not completely migrated), at least one of the access system A with version V3 and the access system A with version V4 executes the access service. As much as possible, the access system A with version V4 is used to execute the access service. When the information required for executing the access service has not been migrated, the access system A with version V3 is used to execute the access service. When the information required for executing the access service is being migrated, wait for the information migration to be completed and then use the access system A with version V4 to execute the access service, etc. The present invention does not limit this.

[0037] S102. When the original access system meets the business access condition, determine the access path judgment scheme of the user based on the access service request.

[0038] Different types of access service requests require different types of system resources. For example, a query service requires access to routing information in the system, while a non-query service requires access to data information in the system. The access path determination scheme can be understood as a scheme for determining whether the information required by the access service request has been migrated. Specifically, for a query service, the access path determination scheme is a routing path determination scheme, which is used to determine whether the routing information required by the query service has been migrated to the new access system; for a non-query service, the access path determination scheme is a data path determination scheme, which is used to determine whether the data information required by the non-query service has been migrated to the new access system. The advantage of this setting is that different types of access services can be processed in a personalized manner.

[0039] S103. Use the access path determination scheme to check the new access system and the original access system to obtain the service access scheme for the access service request, and control the original access system and / or the new access system to respond to the access service request according to the service access scheme.

[0040] The service access scheme can be understood as information indicating the system that executes or responds to the access service request. For example, whether the new access system responds to the access service request, whether the original access system responds to the access service request, or whether the new access system and the original access system respond to the access service request together. Generally, if the information required by the access service request has been migrated to the new access system, the new access system responds to the access service request; if the information required by the access service request has not been migrated to the new access system, the original access system responds to the access service request. In special cases, if the information required by the access service request is being migrated to the new access system, the new access system responds to the access service request after the information migration is completed; if the information required by the access service request has been migrated to the new access system but the original access system still has relevant business data, the new access system and the original access system respond to the access service request together. The advantage of this setting is that it provides a comprehensive method for responding to access service requests, ensuring access quality and business continuity, and enhancing the user experience.

[0041] The technical solution of the above embodiment will determine the system that responds to the access service and the service access scheme of the access service according to the type of access service request generated by the user when both the new access system and the original access system have access qualifications (i.e., system update or optimization), and handle the access service in a targeted manner. For example, when the new system can respond to the access service request, the new system is controlled to respond to the access service request, and when the new system cannot respond to the access service request, the old system is controlled to respond to the access service request to provide continuous access service. That is, during the system update process, there is no need to suspend the access service, nor is there any need to use middleware or dual-write solutions to execute the access service, which can ensure business continuity and access quality in a simple and low-cost manner, and improve the user experience. It not only solves the problem that downtime migration requires large-scale notification of relevant users of the access system, and the downtime is long, and the access system cannot respond to any access tasks during the downtime, which will have a negative impact on business continuity and user experience; it also solves the problem that non-stop migration requires the introduction of middleware or the use of dual-write solutions, which is extremely complex and not suitable for short-term migration tasks, and is easy to make the bilateral data of the new and old systems inconsistent, affecting the correctness of the access results, and even interrupting the access task.

[0042] Figure 2 is a flow chart of another service access method provided by the present invention without suspending the migration task. Based on the above embodiment, this embodiment provides a preferred service access method, which is essentially a service access method with more complete process details. Specifically, Figure 2 As shown, the method includes:

[0043] S201. When receiving a user's access service request, determine a new access system and an original access system corresponding to the access service request, and determine whether the original access system meets the service access condition.

[0044] Same as S101, the access service request is the demand information sent by the user to the access system to obtain the corresponding data, resources or perform operations. Taking the database service request as an example, the access service request includes querying data, inserting data, updating data and deleting data. Generally, there is one access system, but when the access system is being updated or optimized, there can be two access systems. In order not to suspend the service, data migration and traffic switching can be performed while controlling the new access system and / or the original access system to perform access services according to the progress of data migration and traffic switching. The business access condition is the basis for determining whether the access system has the business response qualifications. For example, after the new system is updated, the old system will not have access qualifications. After the new system is updated, the old system will not meet the business access conditions.

[0045] Only when the system is updated, there will be two access systems corresponding to the access service request. If the validity period of the original access system ends until the system update is completed, once the system update task is started, only during the system update process, the original access system meets the business access conditions. After the system update is completed, the original access system will no longer be used, and only the new access system will be used to execute the access service. If the validity period of the original access system is a certain period of time (30 minutes, 2 hours, 5 hours, etc.) after the system update is completed, within a certain period of time (30 minutes, 2 hours, 5 hours, etc.) after the system update is completed, the original access system meets the business access conditions. The advantage of this setting is that secondary information migration can be carried out to prevent the omission of routing information or data information during the migration process and improve the stability of the new access system.

[0046] System update mainly includes routing information migration and data information migration. Therefore, determining whether the original access system meets the business access conditions includes: determining whether the routing information and database information of the original access system are completely migrated to the new access system; if the routing information and database information of the original access system are not completely migrated to the new access system, it is determined that the original access system meets the business access conditions; if the routing information and database information of the original access system are completely migrated to the new access system, it is determined whether the time difference between the moment when the information migration is completed and the current moment is less than the preset duration (the preset effective time limit of the original access system, which can be set and adjusted according to the system update logic, for example, 30 minutes, 2 hours, 5 hours, 2 days, 5 days, etc.); when the time difference between the moment when the information migration is completed and the current moment is less than the preset duration, it is determined that the original access system meets the business access conditions; when the time difference between the moment when the information migration is completed and the current moment is not less than the preset duration, it is determined that the original access system does not meet the business access conditions. The advantage of this setting is to quantitatively evaluate whether the original access system can execute the access service, so as to provide an optimal access strategy for each access service.

[0047] S202. When the original access system meets the business access conditions, determine whether the access service request is a query service.

[0048] The query service mainly retrieves data from the system, such as user information, order information, inventory information, etc. The non-query service is a service other than the query service, such as a log service, an account movement maintenance service, etc. Specifically, if the access service request is a query service, then execute S203; if the access service request is a non-query service, then execute S205.

[0049] It should be noted that different types of access service requests require different types of system resources. The query service needs to access the routing information in the system, and the non-query service needs to access the data information in the system. For the query service, the access path determination scheme is the routing path determination scheme, which is used to determine whether the routing information required by the query service has been migrated to the new access system; for the non-query service, the access path determination scheme is the data path determination scheme, which is used to determine whether the data information required by the non-query service has been migrated to the new access system.

[0050] S203. Determine that the access path determination scheme is the routing migration determination scheme.

[0051] S204. Use the routing migration determination scheme to inspect the new access system and the original access system to obtain the service access scheme for the query service, and control the original access system or the new access system to respond to the access service request according to the service access scheme.

[0052] The service access scheme for the query service can be understood as the information indicating the system that executes or responds to the query service. For example, whether the new access system responds to the query service, or whether the original access system responds to the query service. Specifically, use the routing migration determination scheme to verify the routing information required by the query service. If the routing information required by the query service has been migrated to the new access system, the new access system responds to the query service; if the routing information required by the query service has not been migrated to the new access system, the original access system responds to the query service.

[0053] In one embodiment, S204 may specifically include: parsing the dependent routing information of the query service and determining whether the dependent routing information is completely routed to the new access system; if the dependent routing information is completely routed to the new access system, determine that the service access scheme for the query service is that the new access system performs the access task; if the dependent routing information is not completely routed to the new access system, determine that the service access scheme for the query service is that the original access system performs the access task.

[0054] Among them, the dependent routing information can be understood as the routing information required by the query service. The dependent routing information of different query services is different. Generally, the dependent routing information is at least one of the transaction layer routing, the institution layer routing, and the customer layer routing. Exemplarily, assume that the dependent routing information of the query service is the transaction layer routing and the institution layer routing. If the transaction layer routing and the institution layer routing are completely routed to the new access system, determine that the service access scheme for the query service is that the new access system performs the access task; if at least one of the transaction layer routing and the institution layer routing is not routed to the new access system, determine that the service access scheme for the query service is that the original access system performs the access task.

[0055] Figure 3It is a schematic diagram of a routing query process provided by the present invention. In combination with Figure 3 , the network request passes through the front-end gateway, and the gateway calls the routing query interface. The routing query interface returns the routing direction, and the gateway then selects whether to route the request to the new system application (new access system) or the old system application (original access system) according to the routing direction. It should be noted that the routing query interface supports multi-level routing and can also be customized according to service conditions. The present invention does not limit this.

[0056] S205. Determine that the access path judgment scheme is the data migration judgment scheme.

[0057] S206. Use the data migration judgment scheme to check the new access system and the original access system to obtain the business access scheme for non-query services, and control the original access system and / or the new access system to respond to the access service request according to the business access scheme.

[0058] The business access scheme for non-query services can be understood as the information indicating the system that executes or responds to non-query services. For example, whether the new access system responds to non-query services, whether the original access system responds to non-query services, and whether the new access system and the original access system respond to non-query services together. Specifically, use the data migration judgment scheme to verify the data information required for non-query services. If the data information required for non-query services is migrated to the new access system, the new access system responds to non-query services. If the data information required for non-query services is not migrated to the new access system, the original access system responds to non-query services. If the data information required for non-query services is being migrated to the new access system, the new access system responds to non-query services after the data migration is completed. In special cases, if the data information required for non-query services exists in both the new and old systems, the new access system and the original access system respond to non-query services together.

[0059] Data migration is carried out in batches according to the business primary key (the personalized identification code of the business). For example, data migration is carried out in batches according to the contract number (i.e., the business primary key) in the transplantation contract control table. Specifically, the path for each service to obtain the contract number field through the request message is configured in the transaction-level multi-dimensional switch control table to determine whether the current contract number exists in the transplantation contract control table. If it exists, it means that the current contract is being migrated; if it does not exist, it means that the current contract is not within the scope of this batch of migration.

[0060] In one embodiment, S206 may specifically include: parsing the business primary key of the non-query service and determining whether the business data corresponding to the business primary key is the business data in the current migration task, that is, whether the business primary key exists in the transplantation contract control table; if the business data corresponding to the business primary key is not the business data in the current migration task, that is, the business primary key does not exist in the transplantation contract control table, then determine that the business access scheme of the non-query service is that the new access system and the original access system jointly execute the access task; if the business data corresponding to the business primary key is the business data in the current migration task, that is, the business primary key exists in the transplantation contract control table, then determine that the business access scheme of the non-query service is the partial downtime access scheme.

[0061] Figure 4 It is a schematic diagram of a bilateral proxy process provided by the present invention, which is a process in which the new access system and the original access system jointly execute the access task. The two access systems will execute the access task simultaneously and perform operations such as data merging and deduplication on the access results, which belongs to bilateral proxy. The purpose of this setting is to ensure the comprehensiveness and accuracy of the access results. Further, if the business data corresponding to the business primary key is not the business data in the current migration task, it can also be determined that the business data corresponding to the business primary key exists in the new access system. If it exists in the new access system, the new access system is used to execute the access task. Conversely, the original access system is used to execute the access task, so as to achieve the purpose of only using one access system to execute the access task and save access resources. In special cases, for the situation where the new access system has the access ability, but the data relied on in the access service has not been completely migrated to the new access system, it is necessary to use the bilateral proxy method to execute the access service.

[0062] Figure 5 It is a schematic diagram of a data migration process provided by the present invention, combined with Figure 5 , the migration work is related to the control switch. The main switch and the dynamic switch must be in the on state to obtain the information code, and the obtained information code can be used to transplant data in the transplantation list, that is, data migration. Conversely, if any one of the switches is not turned on or the information code is not in the transplantation list, the data migration work will not be carried out.

[0063] The partial downtime access scheme is as follows: abort the non-query service (for example, turn off the dynamic switch corresponding to this task), and when the business data corresponding to the business primary key of the non-query service is completely migrated to the new access system, restart the non-query service (for example, turn on the dynamic switch corresponding to this task), and determine that the business access scheme of the non-query service is that the new access system executes the access task, so that the new access system responds to this non-query service.

[0064] The present invention is to ensure that the system can stably, reliably and continuously respond to access services during the processes of upgrading, updating, optimizing and switching.

[0065] The technical solution of the above-mentioned embodiment will determine the system that responds to the access service and the service access plan of the access service according to the type of access service request generated by the user when both the new access system and the original access system have access qualifications (i.e., the system is updated or optimized), and handle the access service in a targeted manner. For example, when the new system can respond to the access service request, the new system is controlled to respond to the access service request. When the new system cannot respond to the access service request, the old system is controlled to respond to the access service request to provide continuous access service. That is, during the system update process, there is no need to suspend the access service, nor is there a need to use middleware or dual-write solutions to execute the access service. It can ensure business continuity and access quality in a simple and low-cost manner, and enhance the user experience. Secondly, the present invention can provide stable, reliable, and continuous response access services during system upgrades, updates, optimizations, and switching. It is an access method that does not require downtime, is low-cost, and has high continuity. It not only solves the problem that downtime migration requires large-scale notification of relevant users of the access system, and the downtime is long. During the downtime, the access system cannot respond to any access tasks, which will have a negative impact on business continuity and user experience; it also solves the problem that non-stop migration requires the introduction of middleware or the use of dual-write solutions, which are extremely complex and not suitable for short-term migration tasks, and easily cause inconsistency in bilateral data between the old and new systems, affecting the correctness of access results and even interrupting access tasks.

[0066] Figure 6 Schematic diagram of the structure of a service access device that does not suspend migration tasks provided by the present invention. Figure 6 As shown, the device includes: a system determination module 301, a solution determination module 302 and a service access module 303.

[0067] The system determination module 301 is used to determine the new access system and the original access system corresponding to the access service request when receiving the user's access service request, and determine whether the original access system meets the service access condition.

[0068] The solution determination module 302 is used to determine the user's access path judgment solution based on the access service request when the original access system meets the service access conditions.

[0069] The service access module 303 is used to use the access path judgment scheme to check the new access system and the original access system, obtain the service access scheme for the access service request, and control the original access system and / or the new access system to respond to the access service request according to the service access scheme.

[0070] Optionally, the system determination module 301 is specifically configured to: determine whether the routing information and database information of the original access system have been completely migrated to the new access system; if the routing information and database information of the original access system have not been completely migrated to the new access system, determine that the original access system meets the service access conditions; if the routing information and database information of the original access system have been completely migrated to the new access system, determine whether the time difference between the moment when the information migration is completed and the current moment is less than a preset duration; when the time difference between the moment when the information migration is completed and the current moment is less than the preset duration, determine that the original access system meets the service access conditions; when the time difference between the moment when the information migration is completed and the current moment is not less than the preset duration, determine that the original access system does not meet the service access conditions.

[0071] Optionally, the solution determination module 302 is specifically configured to: determine whether the access service request is a query service; if the access service request is a query service, determine that the access path judgment solution is a routing migration judgment solution; if the access service request is a non-query service, determine that the access path judgment solution is a data migration judgment solution.

[0072] Optionally, the service access module 303 is specifically configured to: parse the dependent routing information of the query service and determine whether the dependent routing information has been completely routed to the new access system; if the dependent routing information has been completely routed to the new access system, determine that the service access solution for the query service is for the new access system to execute the access task; if the dependent routing information has not been completely routed to the new access system, determine that the service access solution for the query service is for the original access system to execute the access task.

[0073] Optionally, the service access module 303 is specifically configured to: parse the business primary key of the non-query service and determine whether the business data corresponding to the business primary key is the business data in the current migration task; if the business data corresponding to the business primary key is not the business data in the current migration task, determine that the service access solution for the non-query service is for the new access system and the original access system to jointly execute the access task; if the business data corresponding to the business primary key is the business data in the current migration task, determine that the service access solution for the non-query service is a partial downtime access solution.

[0074] Optionally, the partial downtime access solution is: abort the non-query service, restart the non-query service when the business data corresponding to the business primary key of the non-query service has been completely migrated to the new access system, and determine that the service access solution for the non-query service is for the new access system to execute the access task.

[0075] The service access device that does not pause the migration task provided by the above embodiment can execute the service access method that does not pause the migration task provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

[0076] Figure 7It is a schematic structural diagram of an electronic device provided by the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0077] As Figure 7 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (also known as a random access memory, RandomAccess Memory, RAM) 13, etc. Among them, the memory stores a computer program executable by the at least one processor. The processor 11 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (Read Only Memory, ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0078] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0079] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the service access method for migrating tasks without pausing.

[0080] In some embodiments, the service access method without suspending the migration task can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the service access method without suspending the migration task described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the service access method without suspending the migration task by any other suitable means (e.g., by means of firmware).

[0081] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from a storage system, at least one input device, and at least one output device, and transmits the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0082] The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowchart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0083] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0084] For purposes of providing an interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide an interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0085] The systems and techniques described herein can be implemented in a computing system that includes backend components (such as, for example, a data server), or a computing system that includes middleware components (such as, for example, an application server), or a computing system that includes frontend components (such as, for example, a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (such as, for example, a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.

[0086] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of large management difficulty and weak business scalability existing in traditional physical hosts and VPS services.

[0087] In one embodiment, the present invention further includes a computer program product, which includes a computer program that, when executed by a processor, implements the service access method for non-pausing migration tasks in any embodiment of the present invention.

[0088] In the process of implementing the computer program product, computer program code for performing the operations of the present invention can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages and also conventional procedural programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can 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 can be connected to an external computer (e.g., by connecting through an Internet service provider using the Internet).

[0089] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.

[0090] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A service access method for non-pausing migration tasks, characterized in that, Including: When receiving a user's access service request, determine the new access system and the original access system corresponding to the access service request, and determine whether the original access system meets the business access conditions; When the original access system meets the business access conditions, determine the user's access path judgment scheme based on the access service request; Use the access path judgment scheme to test the new access system and the original access system to obtain the business access scheme for the access service request, and control the original access system and / or the new access system to respond to the access service request according to the business access scheme.

2. The method according to claim 1, wherein The determination of whether the original access system meets the business access conditions includes: Determine whether the routing information and database information of the original access system have been completely migrated to the new access system; If the routing information and database information of the original access system have not been completely migrated to the new access system, determine that the original access system meets the business access conditions; If the routing information and database information of the original access system have been completely migrated to the new access system, determine whether the time difference between the moment when the information migration is completed and the current moment is less than a preset duration; When the time difference between the moment when the information migration is completed and the current moment is less than the preset duration, determine that the original access system meets the business access conditions; when the time difference between the moment when the information migration is completed and the current moment is not less than the preset duration, determine that the original access system does not meet the business access conditions.

3. The method according to claim 1, characterized in that, The determination of the user's access path judgment scheme based on the access service request includes: Determine whether the access service request is a query service; If the access service request is a query service, determine that the access path judgment scheme is a routing migration judgment scheme; If the access service request is a non-query service, determine that the access path judgment scheme is a data migration judgment scheme.

4. The method according to claim 1, wherein The use of the routing migration judgment scheme to test the new access system and the original access system to obtain the business access scheme for the query service includes: Analyze the dependent routing information of the query service and determine whether the dependent routing information has been completely routed to the new access system; If the dependent routing information has been completely routed to the new access system, determine that the business access scheme for the query service is that the new access system executes the access task; If the dependent routing information has not been completely routed to the new access system, determine that the business access scheme for the query service is that the original access system executes the access task.

5. The method according to claim 1, wherein The use of the data migration judgment scheme to test the new access system and the original access system to obtain the business access scheme for the non-query service includes: Analyze the business primary key of the non-query service and determine whether the business data corresponding to the business primary key is the business data in the current migration task; If the business data corresponding to the business primary key is not the business data in the current migration task, determine that the business access scheme for the non-query service is that the new access system and the original access system jointly execute the access task; If the service data corresponding to the service primary key is the service data in the current migration task, determine that the service access solution for the non-query service is the partial downtime access solution.

6. The method according to claim 5, wherein The partial downtime access solution is: abort the non-query service, and when the service data corresponding to the service primary key of the non-query service is completely migrated to the new access system, restart the non-query service, and determine that the service access solution for the non-query service is for the new access system to execute the access task.

7. A service access device for a non-paused migration task, characterized in that A service access device for implementing the service access method without pausing the migration task according to any one of claims 1 to 6, the service access device without pausing the migration task includes: A system determination module, configured to determine the new access system and the original access system corresponding to the access service request when receiving the access service request from the user, and determine whether the original access system meets the service access conditions; A solution determination module, configured to determine the user's access path determination solution based on the access service request when the original access system meets the service access conditions; A service access module, configured to use the access path determination solution to test the new access system and the original access system, obtain the service access solution for the access service request, and control the original access system and / or the new access system to respond to the access service request according to the service access solution.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and a memory communicatively connected to the at least one processor; Wherein, the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the service access method without pausing the migration task according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the processor to implement the service access method without pausing the migration task according to any one of claims 1 to 6 when executed.

10. A computer program product comprising a computer program, characterized in that, The computer program, when executed by the processor, implements the service access method without pausing the migration task according to any one of claims 1 to 6.