Method and apparatus for software system switching
By comparing and verifying data and controlling access permissions, the instability problem during software system updates and upgrades has been resolved, ensuring smooth user transitions and data accuracy.
Patent Information
- Application Number
- CN202211498871.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2042-11-28
AI Technical Summary
Existing technologies, when updating software systems, can easily lead to output results deviating from correct values or becoming unusable for users during the switching process, lacking flexible switching methods.
By comparing and verifying the data between the first and second software systems, service interface switch information and whitelist information are pushed so that the caller can choose to use the first or second software system based on the permission information.
It enables a smooth transition during software system updates and replacements, ensuring data accuracy and flexible control over user access permissions, and avoiding instability after the transition.
Smart Images

Figure CN115883173B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of distributed technology, and in particular to a method and device for switching a software system. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. No statement herein is admitted to be prior art by virtue of its inclusion in this section.
[0003] Software system data is complex and complex, and its accuracy is paramount. Therefore, iterative updates to software systems must be accurate. When the architecture of a software system providing external services no longer meets the current requirements, a new replacement software system must be developed.
[0004] In the prior art, when a software system is upgraded, there is generally no flexible way for users to choose to switch to the upgraded system. For example, a countdown for the use of the original software system is set. When the countdown runs out, the user is directly asked to switch to the upgraded system. This can easily cause the output results after switching to deviate from the correct value, or the upgraded system may be unavailable to users. Summary of the Invention
[0005] An embodiment of the present invention provides a software system switching method, which is applied to a first software system to ensure that a user can smoothly switch to the updated software system when the software system is updated, including:
[0006] The first software system receives data from the second software system and compares and verifies the data of the first software system with the data of the second software system; wherein the first software system is an upgrade system of the second software system;
[0007] After the comparison and verification are passed, the first software system pushes the service interface switch information and whitelist information to each caller, so that each caller can choose to use the first software system and / or the second software system based on the service interface switch information and whitelist information; wherein, the service interface switch information includes access permission information of the first software system and the second software system; the whitelist information includes information of designated callers allowed to use the first software system.
[0008] An embodiment of the present invention further provides a software system switching method for ensuring that a user can smoothly switch to the updated software system when the software system is updated, comprising:
[0009] The caller of the software system receives service interface switch information and whitelist information pushed by the first software system; wherein the first software system is an upgraded version of the second software system; the service interface switch information includes access permission information for the first software system and the second software system; and the whitelist information includes information about designated callers permitted to use the first software system;
[0010] The caller of the software system selects to use the first software system and / or the second software system according to the service interface switch information and the whitelist information.
[0011] An embodiment of the present invention further provides a software system switching device for ensuring that a user can smoothly switch to the updated software system when the software system is updated. The device is applied to a first software system and includes:
[0012] a comparison and verification module, configured to receive data from the second software system and compare and verify the data from the first software system with the data from the second software system; wherein the first software system is an updated version of the second software system;
[0013] An information push module is used to push the service interface switch information and whitelist information to each caller after the comparison and verification are passed, so that each caller can choose to use the first software system and / or the second software system based on the service interface switch information and the whitelist information; wherein the service interface switch information includes access permission information for the first software system and the second software system; and the whitelist information includes information about designated callers allowed to use the first software system.
[0014] An embodiment of the present invention further provides a software system switching device for ensuring that a user can smoothly switch to the updated software system when the software system is updated. The device is applied to a caller of the software system and includes:
[0015] An information receiving module, configured to receive service interface switch information and whitelist information pushed by a first software system; wherein the first software system is an upgrade system of a second software system; the service interface switch information includes access permission information for the first software system and the second software system; and the whitelist information includes information about designated callers permitted to use the first software system;
[0016] The selection module is used to select and use the first software system and / or the second software system according to the service interface switch information and the whitelist information.
[0017] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned software system switching method when executing the computer program.
[0018] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the software system switching method is implemented.
[0019] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method for switching the software system is implemented.
[0020] In an embodiment of the present invention, a first software system receives data from a second software system, and compares and verifies the data of the first software system with the data of the second software system; wherein, the first software system is an updated system of the second software system; after the comparison and verification are passed, the first software system pushes service interface switch information and whitelist information to each caller, so that each caller can choose to use the first software system and / or the second software system according to the service interface switch information and whitelist information; wherein, the service interface switch information includes access permission information of the first software system and the second software system; the whitelist information includes information of designated callers allowed to use the first software system; compared with the technical solution of fixed switching of software systems in the prior art; the updated software system in the embodiment of the present invention can automatically verify the correctness of data, has strong flexibility, and has sufficient control rights, and can determine user access permissions through the service interface switch information; and can determine users allowed to access through the whitelist information, thereby enabling users to smoothly switch to the updated software system.
[0021] In an embodiment of the present invention, the caller of the software system receives the following information: service interface switch information and whitelist information pushed by the first software system; wherein the first software system is an upgraded system of the second software system; the service interface switch information includes access permission information of the first software system and the second software system; the whitelist information includes information of the designated caller allowed to use the first software system; the first software system and / or the second software system is selected for use based on the service interface switch information and the whitelist information; compared with the technical solution of fixed switching of software systems in the prior art; the upgraded software system in the embodiment of the present invention can automatically verify the correctness of data, has strong flexibility, and has sufficient control rights, and can determine the user's access rights through the service interface switch information; and can determine the users allowed to access through the whitelist information, thereby enabling the user to smoothly switch to the upgraded software system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0023] Figure 1 Flowchart of the software system switching method in an embodiment of the present invention;
[0024] Figure 2 This is a flow chart of another software system switching method according to an embodiment of the present invention;
[0025] Figure 3 This is a structural block diagram of a software system switching device according to an embodiment of the present invention;
[0026] Figure 4 This is a diagram showing the data interaction structure of the comparison and verification module in an embodiment of the present invention;
[0027] Figure 5 This is a data interaction structure diagram of the information push module in an embodiment of the present invention;
[0028] Figure 6 2 is a structural block diagram of another software system switching device in an embodiment of the present invention. DETAILED DESCRIPTION
[0029] To make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0030] Figure 1 FIG. 1 is a flow chart of a software system switching method according to an embodiment of the present invention. Figure 1 As shown, the software system switching method of the embodiment of the present invention may include:
[0031] Step 101: A first software system receives data from a second software system, and compares and verifies the data of the first software system with the data of the second software system; wherein the first software system is an upgrade system of the second software system.
[0032] Step 102: After the comparison and verification are passed, the first software system pushes the service interface switch information and whitelist information to each caller, so that each caller can choose to use the first software system and / or the second software system based on the service interface switch information and whitelist information; wherein the service interface switch information includes access permission information of the first software system and the second software system; the whitelist information includes information of designated callers allowed to use the first software system.
[0033] Depend on Figure 1 It can be seen from the shown process that the software system switching method of the embodiment of the present invention is different from the fixed switching software system of the prior art. The data of the first software system is compared and verified with the data of the second software system and the system to be switched to is determined based on the service interface switch information and the whitelist information. The first software system of the present invention can automatically verify the correctness of the data, has strong flexibility, and has sufficient control rights. The user's access rights can be determined by the service interface switch information; the users allowed to access can be determined by the whitelist information, so that the user can smoothly switch to the updated software system.
[0034] In one embodiment, the first software system can be referred to as a new system, system 2.0, an updated system, a latest system, a test system, etc.; and the second software system can be referred to as an old system, system 1.0, an old version system, an old system, an online system, etc., corresponding to the first software system. The first software system is an upgrade system of the second software system.
[0035] In one embodiment, the service interface switch information indicates the access rights information of the first software system and the second software system using the following values:
[0036] The first value indicates that the access permission information of each caller is: allowing access to the first software system;
[0037] The second value indicates that the access permission information of each caller is: allowing access to the second software system;
[0038] The third value indicates that the specified caller in the whitelist information is allowed to access the first software system.
[0039] The first value, second value, and third value in the embodiment can be: 0, 1, and 2, respectively. For example, the first value, second value, and third value of the access permission information in the service interface switch information in this embodiment are set to: 0, 1, and 2, respectively. If the current service interface switch information value is 1, each caller receives this information value, and according to the access permission information indicated by the second value corresponding to 1: access to the second software system is allowed, then each caller is currently only allowed to access the second software system and cannot access the first software system.
[0040] In one embodiment, the software system switching process can be divided into: Phase 1, Phase 2, and Phase 3. Phase 1 can serve as the functional development and internal verification phase for the first software system; Phase 2 can serve as the phase for phased verification and external service switching. For example, during the phased verification and external service switching phase, some users can use product feature A, while others can start using product feature B. If users have no objections to feature B, the scope can be gradually expanded to migrate all users to feature B. Phase 3 can serve as the phase in which the first software system completely replaces the second software system.
[0041] In this embodiment, in stage one, the service interface switch information can be set to the second value, that is, only each caller is allowed to access the second software system. The first software system only receives data from the second software system in this stage, compares and verifies the data processed by itself with the data of the second software system, and performs function construction of the first software system in stage one; in stage two, the service interface switch information can be set to the third value, that is, only callers in the whitelist are allowed to access the first software system. The service interface switch information can be flexibly adjusted in this stage. For example, if a caller in the whitelist receives an error when accessing the first software system to process a request, or the first software system finds data errors during comparison and verification, or other errors indicating that the first software system is abnormal, the service interface switch information is set to the second value, that is, all current callers access the second software system; in stage three, when the first software system is fully functional and can completely replace the second software system, the service interface switch information can be set to the first value, that is, all callers can access the first software system, so there is no need to add whitelists one by one.
[0042] In one embodiment, the service interface switch information and whitelist information are pushed to each caller via FTP, wherein the push cycle can be set to one day, and the service interface switch information and whitelist information can be the full amount of service interface switch information and whitelist information.
[0043] In one embodiment, each caller selects to use the first software system and / or the second software system based on the whitelist information, wherein the whitelist information includes information of designated callers that are allowed to use the first software system. Furthermore, the designated callers are: callers whose tolerance for software systems exceeds a threshold; and / or pre-agreed callers. For example, if caller 1's tolerance for software systems exceeds a set threshold, and / or caller 1 pre-agreed to use the first software system, caller 1 will be added to the whitelist, and the whitelist information will contain caller 1's information; caller 1 selects to use the first software system and / or the second software system based on the received service interface switch information and whitelist information. For example, in this embodiment, if caller 1 is in the whitelist, and the service interface switch information value is the first value at this time, caller 1 is allowed to access the first software system; if caller 2 is not in the whitelist, and the service interface switch information value is the first value at this time, caller 2 is not allowed to access the first software system.
[0044] In order to determine whether the software caller chooses to use the first software system and / or the second software system, Figure 2 FIG. 1 is a flow chart of another software system switching method according to an embodiment of the present invention. Figure 2 As shown, another software system switching method according to an embodiment of the present invention may include:
[0045] Step 201: The caller of the software system receives the service interface switch information and whitelist information pushed by the first software system; wherein the first software system is an upgraded system of the second software system; the service interface switch information includes access permission information of the first software system and the second software system; and the whitelist information includes information of the designated caller that is allowed to use the first software system.
[0046] In one embodiment, the service interface switch information indicates the access rights information of the first software system and the second software system using the following values:
[0047] The first value indicates that the access permission information of each caller is: allowing access to the first software system;
[0048] The second value indicates that the access permission information of each caller is: allowing access to the second software system;
[0049] The third value indicates that the specified caller in the whitelist information is allowed to access the first software system.
[0050] In one embodiment, the designated caller is:
[0051] Callers whose tolerance for the software system exceeds the threshold;
[0052] and / or, a pre-agreed caller.
[0053] In one embodiment, the caller of the software system receives the service interface switch information and whitelist information pushed by the first software system, including:
[0054] The caller of the software system receives the service interface switch information and whitelist information pushed by the first software system in FTP mode.
[0055] In one embodiment, caller 1 receives service interface switch information and whitelist information pushed by a first software system via FTP. The service interface switch information is a third value, and caller 1 is a caller whose tolerance for the software system exceeds a threshold and / or is a pre-agreed caller. This indicates that caller 1 is on the whitelist and, based on the third value of the service interface switch information and the access permission information, caller 1 is permitted to access the first software system.
[0056] Step 202: The caller of the software system selects to use the first software system and / or the second software system according to the service interface switch information and the whitelist information.
[0057] In one embodiment, the caller of the software system selects to use the first software system and / or the second software system according to the service interface switch information and the whitelist information, including:
[0058] The caller of the software system selects to use the first software system and / or the second software system according to the service interface switch information and the whitelist information in one of the following ways:
[0059] Choose to use the first software system alone;
[0060] Choose to use the second software system alone;
[0061] Selecting to use the first and second software systems in parallel, where the processing result of the second software system is used to determine the processing result: Using the processing results of the first and second software systems in parallel. For example, if Caller 2 is in the whitelist and the service switch interface information is the third value, Caller 2 can choose to use the first and second software systems in parallel. To avoid incorrect processing by the first software system, the processing result of the second software system is used to determine the processing result. For example, for Caller 2's request, if the processing result of the first software system is A and the processing result of the second software system is B, the processing result of Caller 2's request is determined by the processing result of the second software system, that is, the processing result of Caller 2's request is B.
[0062] Depend on Figure 2It can be seen from the shown process that the software system switching method of the embodiment of the present invention is different from the technical solution of fixed switching software system in the prior art. The updated software system in the embodiment of the present invention can automatically verify the correctness of data, has strong flexibility, and has sufficient control rights. The user's access rights can be determined by the service interface switch information; the users allowed to access can be determined by the whitelist information, so that the user can smoothly switch to the updated software system.
[0063] The present invention also provides a software system switching device, as described in the following embodiments. Since the principle of the device to solve the problem is similar to that of the software system switching method, the implementation of the device can refer to the implementation of the software system switching method, and the repeated parts will not be repeated.
[0064] Figure 3 FIG. 1 is a structural block diagram of a software system switching device according to an embodiment of the present invention. Figure 3 As shown, the software system switching device 300 according to the embodiment of the present invention is applied to the first software system and may include:
[0065] Comparison and Verification Module 301 is configured to receive data from a second software system and compare and verify the data from the first software system with the data from the second software system; the first software system is an upgrade of the second software system. In one embodiment, Comparison and Verification Module 310 can be configured to execute Step 101 described above and will not be further described here.
[0066] Information push module 302 is configured to push service interface switch information and whitelist information to each caller after verification, allowing each caller to select the first software system and / or the second software system based on the service interface switch information and whitelist information. The service interface switch information includes access permission information for the first and second software systems, and the whitelist information includes information about designated callers permitted to use the first software system. In one embodiment, information push module 320 can be used to execute step 102 described above and will not be further described here.
[0067] In the embodiment of the present invention, the comparison and verification module 301 in the software system switching device 300 receives data from the second software system, compares and verifies the data of the first software system with the data of the second software system, and takes the processing result of the second software system as the basis to ensure that the processing result of the first software system is correct; the information push module 302 receives the comparison and verification result of the comparison and verification module 301, and after the comparison and verification is passed, pushes the service interface switch information and whitelist information to each caller, so that each caller can choose to use the first software system and / or the second software system according to the service interface switch information and whitelist information, which can make the first software system flexible and have sufficient control.
[0068] In one embodiment, the service interface switch information indicates the access rights information of the first software system and the second software system using the following values:
[0069] The first value indicates that the access permission information of each caller is: allowing access to the first software system;
[0070] The second value indicates that the access permission information of each caller is: allowing access to the second software system;
[0071] The third value indicates that the specified caller in the whitelist information is allowed to access the first software system.
[0072] In one embodiment, the designated caller is:
[0073] Callers whose tolerance for the software system exceeds the threshold;
[0074] and / or, a pre-agreed caller.
[0075] In one embodiment, the information push module 302 may be specifically used to:
[0076] Push service interface switch information and whitelist information to each caller via FTP.
[0077] Figure 4 This is a data interaction structure diagram of the comparison and verification module in an embodiment of the present invention.
[0078] In one embodiment of the present disclosure, a comparison and verification module receives file data in a second software system, which may include but is not limited to old systems such as CTIS (Corporate Technical Information System) and HDSS (Holographic Data-Storage System), obtains data processed by the first software system including but not limited to splicing, processing, and file generation, performs data comparison, and generates a comparison report.
[0079] Figure 5 This is a data interaction structure diagram of the information push module in an embodiment of the present invention.
[0080] In one embodiment of the present disclosure, the information push module adds callers whose tolerance for the software system exceeds a threshold and / or pre-agreed callers to a whitelist, and pushes the service interface switch information and the whitelist information to each caller (caller 1, caller 2, ..., caller n) via FTP. Each caller then selects to use the first software system and / or the second software system based on the service interface switch information and the whitelist information.
[0081] Figure 6 FIG. 1 is a structural block diagram of another software system switching device according to an embodiment of the present invention. Figure 6 As shown, another software system switching device 600 according to an embodiment of the present invention is applied to a caller of a software system and may include:
[0082] Information receiving module 601: used to receive the service interface switch information and whitelist information pushed by the first software system; wherein the first software system is an upgraded system of the second software system; the service interface switch information includes access permission information of the first software system and the second software system; the whitelist information includes information of the designated caller that is allowed to use the first software system; in one embodiment, the information receiving module 601 can be used to execute step 201 described above, which will not be repeated here.
[0083] Selection module 602: used to select the first software system and / or the second software system according to the service interface switch information and the whitelist information; in one embodiment, the selection module 602 can be used to execute step 202 described above, which will not be repeated here.
[0084] In one embodiment, the service interface switch information indicates the access rights information of the first software system and the second software system using the following values:
[0085] The first value indicates that the access permission information of each caller is: allowing access to the first software system;
[0086] The second value indicates that the access permission information of each caller is: allowing access to the second software system;
[0087] The third value indicates that the specified caller in the whitelist information is allowed to access the first software system.
[0088] In one embodiment, the designated caller is:
[0089] Callers whose tolerance for the software system exceeds the threshold;
[0090] and / or, a pre-agreed caller.
[0091] In one embodiment, the information receiving module 601 may be specifically used to:
[0092] Receive the service interface switch information and whitelist information pushed by the first software system in FTP mode.
[0093] In one embodiment, the selection and use module 602 may be specifically used to:
[0094] Based on the service interface switch information and the whitelist information, the first software system and / or the second software system is selected for use in one of the following ways:
[0095] Choose to use the first software system alone;
[0096] Choose to use the second software system alone;
[0097] Selecting to use the first software system and the second software system in parallel, wherein the processing result of the second software system is used to determine: using the processing results of the first software system and the second software system in parallel.
[0098] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned software system switching method when executing the computer program.
[0099] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the software system switching method is implemented.
[0100] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the software system switching method is implemented.
[0101] To sum up, in an embodiment of the present invention, a first software system receives data from a second software system, and compares and verifies the data of the first software system with the data of the second software system; wherein, the first software system is an updated system of the second software system; after the comparison and verification is passed, the first software system pushes the service interface switch information and the whitelist information to each caller, so that each caller can choose to use the first software system and / or the second software system according to the service interface switch information and the whitelist information; wherein, the service interface switch information includes access permission information of the first software system and the second software system; the whitelist information includes information of designated callers allowed to use the first software system; compared with the technical solution of fixed switching of software systems in the prior art; the updated software system in the embodiment of the present invention can automatically verify the correctness of data, has strong flexibility, and has sufficient control rights, and can determine the user's access rights through the service interface switch information; and can determine the users allowed to access through the whitelist information, so that the user can smoothly switch to the updated software system.
[0102] In an embodiment of the present invention, the caller of the software system receives the following information: service interface switch information and whitelist information pushed by the first software system; wherein the first software system is an upgraded system of the second software system; the service interface switch information includes access permission information of the first software system and the second software system; the whitelist information includes information of the designated caller allowed to use the first software system; the first software system and / or the second software system is selected for use based on the service interface switch information and the whitelist information; compared with the technical solution of fixed switching of software systems in the prior art; the upgraded software system in the embodiment of the present invention can automatically verify the correctness of data, has strong flexibility, and has sufficient control rights, and can determine the user's access rights through the service interface switch information; and can determine the users allowed to access through the whitelist information, thereby enabling the user to smoothly switch to the upgraded software system.
[0103] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0104] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0105] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0106] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0107] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for switching a software system, characterized in that: Applied to the first software system, including: The first software system receives data from the second software system and compares and verifies the data of the first software system with the data of the second software system; wherein the first software system is an upgrade system of the second software system; After the comparison and verification are passed, the first software system pushes the service interface switch information and whitelist information to each caller, so that each caller can choose to use the first software system and / or the second software system based on the service interface switch information and whitelist information; wherein, the service interface switch information includes access permission information of the first software system and the second software system; the whitelist information includes information of designated callers allowed to use the first software system.
2. The method according to claim 1, wherein The service interface switch information indicates the access rights information of the first software system and the second software system using the following values: The first value indicates that the access permission information of each caller is: allowing access to the first software system; The second value indicates that the access permission information of each caller is: allowing access to the second software system; The third value indicates that the specified caller in the whitelist information is allowed to access the first software system.
3. The method according to claim 1, wherein Specify the caller as: Callers whose tolerance for the software system exceeds the threshold; and / or, a pre-agreed caller.
4. The method according to claim 1, wherein Push service interface switch information and whitelist information to each caller, including: Push service interface switch information and whitelist information to each caller via FTP.
5. A method for switching a software system, characterized in that: include: The caller of the software system receives service interface switch information and whitelist information pushed by the first software system; wherein the first software system is an upgraded version of the second software system; the service interface switch information includes access permission information for the first software system and the second software system; and the whitelist information includes information about designated callers permitted to use the first software system; The caller of the software system selects to use the first software system and / or the second software system according to the service interface switch information and the whitelist information.
6. The method according to claim 5, wherein The service interface switch information indicates the access rights information of the first software system and the second software system using the following values: The first value indicates that the access permission information of each caller is: allowing access to the first software system; The second value indicates that the access permission information of each caller is: allowing access to the second software system; The third value indicates that the specified caller in the whitelist information is allowed to access the first software system.
7. The method according to claim 5, wherein Specify the caller as: Callers whose tolerance for the software system exceeds the threshold; and / or, a pre-agreed caller.
8. The method according to claim 5, wherein The caller of the software system receives the service interface switch information and whitelist information pushed by the first software system, including: The caller of the software system receives the service interface switch information and whitelist information pushed by the first software system in FTP mode.
9. The method according to claim 5, wherein The caller of the software system selects to use the first software system and / or the second software system according to the service interface switch information and the whitelist information, including: The caller of the software system selects to use the first software system and / or the second software system according to the service interface switch information and the whitelist information in one of the following ways: Choose to use the first software system alone; Choose to use the second software system alone; The first software system and the second software system are selected for parallel use, wherein a processing result of the parallel use of the first software system and the second software system is determined by a processing result of the second software system.
10. A device for switching a software system, characterized in that: Applied to the first software system, including: a comparison and verification module, configured to receive data from the second software system and compare and verify the data from the first software system with the data from the second software system; wherein the first software system is an updated version of the second software system; An information push module is used to push the service interface switch information and whitelist information to each caller after the comparison and verification are passed, so that each caller can choose to use the first software system and / or the second software system based on the service interface switch information and the whitelist information; wherein the service interface switch information includes access permission information for the first software system and the second software system; and the whitelist information includes information about designated callers allowed to use the first software system.
11. The device according to claim 10, wherein The service interface switch information indicates the access rights information of the first software system and the second software system using the following values: The first value indicates that the access permission information of each caller is: allowing access to the first software system; The second value indicates that the access permission information of each caller is: allowing access to the second software system; The third value indicates that the specified caller in the whitelist information is allowed to access the first software system.
12. The device according to claim 10, wherein Specify the caller as: Callers whose tolerance for the software system exceeds the threshold; and / or, a pre-agreed caller.
13. The device according to claim 10, wherein The information push module is specifically used for: Push service interface switch information and whitelist information to each caller via FTP.
14. A device for switching a software system, characterized in that: Applicable to the caller of the software system, including: An information receiving module, configured to receive service interface switch information and whitelist information pushed by a first software system; wherein the first software system is an upgrade system of a second software system; the service interface switch information includes access permission information for the first software system and the second software system; and the whitelist information includes information about designated callers permitted to use the first software system; The selection module is used to select and use the first software system and / or the second software system according to the service interface switch information and the whitelist information.
15. The device according to claim 14, wherein The service interface switch information indicates the access rights information of the first software system and the second software system using the following values: The first value indicates that the access permission information of each caller is: allowing access to the first software system; The second value indicates that the access permission information of each caller is: allowing access to the second software system; The third value indicates that the specified caller in the whitelist information is allowed to access the first software system.
16. The device according to claim 14, wherein Specify the caller as: Callers whose tolerance for the software system exceeds the threshold; and / or, a pre-agreed caller.
17. The device according to claim 14, wherein The information receiving module is specifically used for: Receive the service interface switch information and whitelist information pushed by the first software system in FTP mode.
18. The device according to claim 14, wherein Select the module to use: Based on the service interface switch information and the whitelist information, the first software system and / or the second software system is selected for use in one of the following ways: Choose to use the first software system alone; Choose to use the second software system alone; The first software system and the second software system are selected for parallel use, wherein a processing result of the parallel use of the first software system and the second software system is determined by a processing result of the second software system.
19. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.
20. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
21. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Application gray publishing method and device and computer readable storage medium
CN108768875A
Network management method, device and system and computer readable storage medium
CN112910882A