CN112015469B - System reconstruction method and device and electronic equipment - Google Patents

System reconstruction method and device and electronic equipment Download PDF

Info

Publication number
CN112015469B
CN112015469B CN202010676532.2A CN202010676532A CN112015469B CN 112015469 B CN112015469 B CN 112015469B CN 202010676532 A CN202010676532 A CN 202010676532A CN 112015469 B CN112015469 B CN 112015469B
Authority
CN
China
Prior art keywords
financial service
service system
old
switch
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010676532.2A
Other languages
Chinese (zh)
Other versions
CN112015469A (en
Inventor
李�权
宋荣鑫
黄建庭
刘家雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qiyu Information Technology Co Ltd
Original Assignee
Beijing Qiyu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qiyu Information Technology Co Ltd filed Critical Beijing Qiyu Information Technology Co Ltd
Priority to CN202010676532.2A priority Critical patent/CN112015469B/en
Publication of CN112015469A publication Critical patent/CN112015469A/en
Application granted granted Critical
Publication of CN112015469B publication Critical patent/CN112015469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention provides a system reconstruction method, a device and electronic equipment, wherein the method is used for reconstructing a financial service system, the financial service system performs data interaction with a plurality of systems and is used for inquiring business data related to financial products, and the method comprises the following steps: the old financial service system is connected with the message proxy server and the wind control approval system and provides data query service for the business end; constructing a new financial service system parallel to the old financial service system, transplanting all codes of the old financial service system to the new financial service system, and changing the consumption mode of the old financial service system into message idempotent; establishing a distributed database; comparing the business data of the two systems and verifying the query interface of the new financial service system; and after verifying that each function index is normal, switching query interfaces to complete the reconstruction system. The method of the invention realizes the minimum risk stable switching of the new and old systems and ensures the smooth upgrading of the systems.

Description

System reconstruction method and device and electronic equipment
Technical Field
The present invention relates to the field of computer information processing, and in particular, to a system reconstruction method, apparatus, and electronic device.
Background
In modern society, with the development of financial industry and scientific industry, more and more financial services rely on data analysis, and for this reason, financial service systems developed by many companies for analyzing financial data are more and more complex. To maintain such complex financial services systems, update iterations are often performed. On one hand, as the society is developed gradually, in order to meet the requirements of users and businesses which are continuously changed, the financial data analysis system is required to be iterated continuously so as to improve the competitiveness of the product; on the other hand, to repair a newly discovered vulnerability or defect, it is also necessary to iterate through the product.
However, in the prior art, a complex system with a dependency relationship with multiple systems is reconstructed, so that a lot of problems still exist in ensuring smooth upgrade of the system, such as a problem that a new system and an old system cannot be smoothly switched, a problem that a risk is large, and the like.
Accordingly, there is a need to provide a more secure system reconstruction method.
Disclosure of Invention
In order to solve the above-mentioned problems, the present invention provides a system reconstruction method for reconstructing a financial service system that performs data interaction with a plurality of systems and queries service data related to a financial product, the system reconstruction method comprising: the old financial service system is connected with the message proxy server and the wind control approval system, and provides data query service for the business end, wherein the message proxy server is used for proxy of business data related to financial products, and the wind control approval system is used for receiving message consumption related information data from the old financial service system; constructing a new financial service system parallel to the old financial service system, transplanting all codes of the old financial service system to the new financial service system, and changing the consumption mode of the old financial service system into message idempotent; establishing a distributed database connected with the old financial service system and the new financial service system; the distributed database is used for receiving business data received by the old financial service system and the new financial service system from the message proxy server side respectively; comparing the business data of the old financial service system with the business data of the new financial service system, and verifying a query interface of the new financial service system; after verifying that each function index is normal, closing the old financial service system and switching the query interface to the new financial service system to complete the reconstruction system.
Preferably, after the verification that the function indexes are normal, closing the old financial service system and switching the query interface to the new financial service system includes: switching a query interface of a service end into a dubbo interface; the function indexes comprise a message consumption sending index, a service data database falling index and a service data query index.
Preferably, the method further comprises: the monitoring message proxy server sends business data related to the financial products to the new financial service system, delays consumption and shields consumption, and then sends a consumption completion notification to the wind control approval system; and the wind control approval system connected with the new financial service system directly establishes connection with a service end so as to be used for inquiring related service data by a user.
Preferably, the comparing the business data of the old financial service system and the new financial service system includes: and comparing the consumption result of the new financial service system with the consumption result of the old financial service system by inquiring the latest data of the distributed database so as to judge whether message consumption and transmission are normal or not.
Preferably, the method further comprises: after the dubbo interface of the new financial service system is switched, a first switch and a second switch are turned on, and the first switch and the second switch consume a preset time period in parallel with the old financial service system so as to verify and compare whether the dubbo interface is consistent with a query interface of the old financial service system.
Preferably, the method further comprises: the first switch is used for storing data to the switch of the distributed database, and the second switch is used for sending information consumption related data to the wind control approval system; the first switch and/or the second switch is an interface-level hot-cut switch.
Preferably, the old financial service system is a real-time computing system for computing user metrics, including user behavior data.
Preferably, the new financial service system further comprises switches corresponding to the interception and shielding data, and updates the corresponding operation codes according to the interception and shielding data.
In addition, the present invention also provides a system reconstruction device for reconstructing a financial service system, the system reconstruction device comprising: the system comprises a connection module, a message proxy server and a wind control approval system, wherein the connection module is used for connecting an old financial service system with the message proxy server and the wind control approval system, and providing data query service for a business end, the message proxy server is used for proxy of business data related to financial products, and the wind control approval system is used for receiving message consumption related information data from the old financial service system; the construction module is used for constructing a new financial service system which is parallel to the old financial service system, transplanting all codes of the old financial service system to the new financial service system, and changing the consumption mode of the old financial service system into message idempotent; a processing module for establishing a distributed database connected to the old financial service system and the new financial service system; the distributed database is used for receiving business data received by the old financial service system and the new financial service system from the message proxy server side respectively; the verification module is used for comparing the business data of the old financial service system with the business data of the new financial service system and verifying a query interface of the new financial service system; and the switching module is used for closing the old financial service system and switching the query interface to the new financial service system after verifying that the function indexes are normal so as to complete the reconstruction system.
Preferably, the method further comprises: switching a query interface of a service end into a dubbo interface; the function indexes comprise a message consumption sending index, a service data database falling index and a service data query index.
Preferably, the system further comprises a monitoring module, wherein the monitoring module is used for monitoring business data related to the financial products, which is sent to the new financial service system by the message proxy server, and sending a consumption completion notification to the wind control approval system after delaying consumption and shielding consumption; and the wind control approval system connected with the new financial service system directly establishes connection with a service end so as to be used for inquiring related service data by a user.
Preferably, the system further comprises a judging module, wherein the judging module is used for comparing the consumption result of the new financial service system with the consumption result of the old financial service system by inquiring the latest data of the distributed database so as to judge whether message consumption and transmission are normal.
Preferably, the method further comprises: after the dubbo interface of the new financial service system is switched, a first switch and a second switch are turned on, and the first switch and the second switch consume a preset time period in parallel with the old financial service system so as to verify and compare whether the dubbo interface is consistent with a query interface of the old financial service system.
Preferably, the method further comprises: the first switch is used for storing data to the switch of the distributed database, and the second switch is used for sending information consumption related data to the wind control approval system; the first switch and/or the second switch is an interface-level hot-cut switch.
Preferably, the old financial service system is a real-time computing system for computing user metrics, including user behavior data.
Preferably, the new financial service system further comprises switches corresponding to the interception and shielding data, and updates the corresponding operation codes according to the interception and shielding data.
In addition, the invention also provides electronic equipment, wherein the electronic equipment comprises: a processor; and a memory storing computer executable instructions that, when executed, cause the processor to perform the system reconstruction method of the present invention.
Furthermore, the present invention provides a computer readable storage medium, wherein the computer readable storage medium stores one or more programs, which when executed by a processor, implement the system reconstruction method of the present invention.
Advantageous effects
Compared with the prior art, the system reconstruction method of the invention reconstructs the new financial service system for multiparty data interaction by transplanting codes, replacing consumption methods to be non-consumption idempotent, adding an interface level hot-cut switch and replacing an inquiry interface, performs verification comparison on the new and old systems in a test environment, synchronously consumes a double-write database in a production environment, realizes the minimum risk stable switching of the new and old systems, ensures the smooth upgrading of the system, and improves the safety and service availability of the mutual cooperation between the whole system and other systems.
Drawings
In order to make the technical problems solved by the present invention, the technical means adopted and the technical effects achieved more clear, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted, however, that the drawings described below are merely illustrative of exemplary embodiments of the present invention and that other embodiments of the present invention may be derived from these drawings by those skilled in the art without undue effort.
Fig. 1 is a flow chart of an example of a system reconstruction method of the present invention.
Fig. 2 is a schematic diagram of an example of an application scenario of the system reconstruction method of the present invention.
Fig. 3 is a flow chart of another example of a system reconstruction method of the present invention.
Fig. 4 is a schematic block diagram of an example of a system reconstruction apparatus of the present invention.
Fig. 5 is a schematic block diagram of another example of a system reconstruction apparatus of the present invention.
Fig. 6 is a schematic block diagram of still another example of a system reconstruction apparatus of the present invention.
Fig. 7 is a block diagram of an exemplary embodiment of an electronic device according to the present invention.
Fig. 8 is a block diagram of an exemplary embodiment of a computer readable medium according to the present invention.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals in the drawings denote the same or similar elements, components or portions, and thus a repetitive description thereof will be omitted.
The features, structures, characteristics or other details described in a particular embodiment do not exclude that may be combined in one or more other embodiments in a suitable manner, without departing from the technical idea of the invention.
In the description of specific embodiments, features, structures, characteristics, or other details described in the present invention are provided to enable one skilled in the art to fully understand the embodiments. However, it is not excluded that one skilled in the art may practice the present invention without one or more of the specific features, structures, characteristics, or other details.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various devices, elements, components or portions, this should not be limited by these terms. These words are used to distinguish one from the other. For example, a first device may also be referred to as a second device without departing from the spirit of the invention.
The term "and/or" and/or "includes all combinations of any of the associated listed items and one or more.
In view of the above problems, the present invention provides a system reconfiguration method, by using the method, a new financial service system for multiparty data interaction is reconfigured, verification and comparison are performed on the new and old systems in a test environment, and double-writing databases are synchronously consumed in a production environment, so that the minimum risk stable switching of the new and old systems is realized, the smooth upgrading of the systems is ensured, and the safety and service availability of the mutual cooperation between the whole system and other systems are also improved.
The present invention will be further described in detail below with reference to specific embodiments and with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present invention more apparent.
Example 1
Next, an embodiment of the system reconstruction method of the present invention will be described with reference to fig. 1 to 3.
Fig. 1 is a flow chart of an example of a system reconstruction method of the present invention.
As shown in fig. 1, the system reconstruction method of the present invention mainly includes the following steps.
In step S101, the old financial service system is connected with a message proxy server and a wind control approval system, and provides a data query service for a business end, where the message proxy server is used for proxy of business data related to financial products, and the wind control approval system is used for receiving message consumption related information data from the old financial service system.
Step S102, a new financial service system parallel to the old financial service system is constructed, all codes of the old financial service system are transplanted to the new financial service system, and the consumption mode of the old financial service system is changed into message idempotent.
Step S103, establishing a distributed database connected with the old financial service system and the new financial service system; the distributed database is used for receiving business data received by the old financial service system and the new financial service system from the message proxy server side respectively.
Step S104, comparing the business data of the old financial service system and the new financial service system, and verifying the query interface of the new financial service system.
Step S105, after verifying that each function index is normal, closing the old financial service system and switching the query interface to the new financial service system to complete the reconstruction system.
Fig. 2 is a schematic diagram of an example of an application scenario of the system reconstruction method of the present invention.
As shown in fig. 2, in the application scenario where the new and old systems coexist, multiple systems are connected and cooperate with each other, and there is an interdependence relationship, where the multiple systems include an old financial service system, a new financial service system, a financial product system, a wind control approval system, a universal gateway system, and the like, which are connected with each other to perform data interaction, so as to realize stable switching of minimum risk of the new and old systems.
It should be noted that, in this example, the financial service system (including the old financial service system and the new financial service system) is a real-time computing system for computing the user index, where the system is mainly used for performing real-time computation on multiple dimension indexes of the user, and provides data query service for the service end through the universal gateway system; the financial product system is a system for serving user resource applications and approvals; the wind control approval system is a system for service user trust and resource approval; the universal gateway system is connected with the service end and is used for serving the inquiry of external resources of the user; a distributed database for storing relevant business data is also included. The reconfiguration process of the new financial service system will be described in more detail below.
First, in step S101, an old financial service system is connected to a message proxy server for proxy of service data related to a financial product and a wind-control approval system for receiving message consumption related information data from the old financial service system, and provides a data query service to a service end.
In particular, the financial product system (LoanPlatform System, abbreviated as LPS) includes one or more financial services products or funds management products. The financial product System sends message data related to each financial product to an old financial service System, for example, a live System, which calculates user indexes such as user behavior data in real time, provides data query service for a service end through a general gateway System, and sends a message consumption completion notification to an Approval System (APV for short).
Further, the old financial service system is connected with the universal gateway system through the Http rest interface, in other words, the Http rest interface is a query interface for calling the old financial service system.
Next, in step S102, a new financial service system is constructed in parallel with the old financial service system, all codes of the old financial service system are transplanted to the new financial service system, and the consumption mode of the old financial service system is changed to message idempotent.
As shown in fig. 3, the method further includes a step S301 of listening to business data received by the new financial service system.
In step S301, service data received by a new financial service system is monitored, specifically, service data related to the financial product sent by a monitoring message proxy server to the new financial service system, and after consumption is delayed and shielded, a consumption completion notification is sent to the wind control approval system.
Specifically, the new financial service system further comprises switches corresponding to the interception and shielding data, and the corresponding operation codes are updated according to the interception and shielding data.
More specifically, the switches include a first switch for controlling and a second switch, wherein the first switch is used for saving data to the distributed database, and the second switch is used for sending message consumption related data to the wind control approval system.
Preferably, the first switch and/or the second switch is an interface-level hot-cut switch.
Further, the wind control approval system connected with the new financial service system directly establishes connection with a business end for a user to inquire related business data.
In this example, the query interface of the service end is switched to a dubbo interface, that is, the dubbo interface is a query interface for calling a new financial service system, and further, the wind control approval system is connected with the service end through the dubbo interface.
It should be noted that the new financial service system is a msf frame-based system, unlike the basic frame of the old financial service system, which is a springboot-based system. In addition, the new financial services system includes a number of other functions such as current limiting, monitoring, log collection, etc.
Next, in step S103, a distributed database connected to the old financial service system and the new financial service system is established, the distributed database being used for receiving service data received by the old financial service system and the new financial service system from the message broker server side, respectively.
Preferably, the distributed database is an Hbase database.
In this example, the message broker server receives business data from the financial product systems and transmits the corresponding business data to the old financial service system and the new financial service system during simultaneous consumption by the old and new systems.
Further, the old financial service system and the new financial service system both calculate the received business data in real time, provide data query service for the business end, and send a message consumption completion notification to a wind control approval system, wherein the wind control approval system can ensure that the message returned by the old financial service system is idempotent.
Next, in step S104, the business data of the old financial service system and the new financial service system are compared, and the query interface of the new financial service system is verified.
Specifically, in the test environment, the message consumption result of the new financial service system is compared with the message consumption result of the old financial service system by inquiring the latest data of the Hbase database, for example, the log is printed for comparison, so as to judge whether the message consumption transmission is normal or not.
Further, as the query interface of the new financial service system is changed to the dubbo interface, the dubbo interface is compared with the Http rest interface of the old financial service system.
In this example, the message consumption calculation logic received by the new and old financial service systems is also validated for consistency.
Further, each function index of the financial service system is verified.
Step S105, after verifying that each function index is normal, closing the old financial service system and switching the query interface to the new financial service system to complete the reconstruction system.
In this example, the function metrics include a message consumption sending metric, a business data falling-down metric, and a business data query metric.
Specifically, the new and old financial service systems are verified and compared in the test environment, and the double-writing database is synchronously consumed in the production environment.
In this example, after switching to the dubbo interface of the new financial service system, the first switch and the second switch are turned on, and a predetermined period of time is consumed in parallel with the old financial service system to verify whether the dubbo interface is consistent with the query interface of the old financial service system.
Further, after verifying that the function indexes are normal, the old financial service system is closed, and the old query interface is switched to the dubbo interface of the new financial service system, so that the reconstruction of the new financial service system is completed.
Therefore, by the system reconstruction method, the minimum risk stable switching of the new system and the old system is realized, the smooth upgrading of the system is ensured, and the safety and service availability of the mutual cooperation between the whole system and other systems are improved.
The above description is given by way of example only, and the present invention is not to be construed as being limited thereto.
The procedure of the above system reconstruction method is only for explanation of the present invention, in which the order and the number of steps are not particularly limited. In addition, the steps in the method can be split into two, three or some steps can be combined into one step, and the adjustment is performed according to practical examples.
Compared with the prior art, the system reconstruction method of the invention reconstructs the new financial service system for multiparty data interaction by transplanting codes, replacing consumption methods to be non-consumption idempotent, adding an interface level hot-cut switch and replacing an inquiry interface, performs verification comparison on the new and old systems in a test environment, synchronously consumes a double-write database in a production environment, realizes the minimum risk stable switching of the new and old systems, ensures the smooth upgrading of the system, and improves the safety and service availability of the mutual cooperation between the whole system and other systems.
Those skilled in the art will appreciate that all or part of the steps implementing the above-described embodiments are implemented as a program (computer program) executed by a computer data processing apparatus. The above-described method provided by the present invention can be implemented when the computer program is executed. Moreover, the computer program may be stored in a computer readable storage medium, which may be a readable storage medium such as a magnetic disk, an optical disk, a ROM, a RAM, or a storage array composed of a plurality of storage media, for example, a magnetic disk or a tape storage array. The storage medium is not limited to a centralized storage, but may be a distributed storage, such as cloud storage based on cloud computing.
Embodiments of the system reconstruction apparatus of the present invention are described below, which may be used to perform method embodiments of the present invention. Details described in the embodiments of the device according to the invention should be regarded as additions to the embodiments of the method described above; for details not disclosed in the embodiments of the device according to the invention, reference may be made to the above-described method embodiments.
Example 2
Referring to fig. 4, 5 and 6, the present invention also provides a system reconstruction apparatus 400, the apparatus 400 being for reconstructing a financial service system, the system reconstruction apparatus 400 comprising: the connection module 401 is used for connecting an old financial service system with a message proxy server and a wind control approval system, and providing data query service for a business end, wherein the message proxy server is used for proxy of business data related to financial products, and the wind control approval system is used for receiving message consumption related information data from the old financial service system; a construction module 402, configured to construct a new financial service system parallel to the old financial service system, migrate all codes of the old financial service system to the new financial service system, and change the consumption mode of the old financial service system into message idempotent; a processing module 403 for establishing a distributed database connected to the old financial service system and the new financial service system; the distributed database is used for receiving business data received by the old financial service system and the new financial service system from the message proxy server side respectively; a verification module 404, configured to compare business data of the old financial service system and the new financial service system, and verify a query interface of the new financial service system; and the switching module 405 is configured to close the old financial service system and switch the query interface to the new financial service system after verifying that the function indexes are normal, so as to complete the reconfiguration system.
Preferably, the method further comprises: switching a query interface of a service end into a dubbo interface; the function indexes comprise a message consumption sending index, a service data database falling index and a service data query index.
As shown in fig. 5, the system further includes a monitoring module 501, where the monitoring module 501 is configured to monitor service data related to the financial product sent by a message proxy server to the new financial service system, delay consumption and mask consumption, and send a consumption completion notification to the wind control approval system; and the wind control approval system connected with the new financial service system directly establishes connection with a service end so as to be used for inquiring related service data by a user.
As shown in fig. 6, the system further includes a determining module 601, where the determining module 601 performs data comparison between the consumption result of the new financial service system and the consumption result of the old financial service system by querying the latest data of the distributed database, so as to determine whether message consumption and transmission are normal.
Preferably, the method further comprises: after the dubbo interface of the new financial service system is switched, a first switch and a second switch are turned on, and the first switch and the second switch consume a preset time period in parallel with the old financial service system so as to verify and compare whether the dubbo interface is consistent with a query interface of the old financial service system.
Preferably, the method further comprises: the first switch is used for storing data to the switch of the distributed database, and the second switch is used for sending information consumption related data to the wind control approval system; the first switch and/or the second switch is an interface-level hot-cut switch.
Preferably, the old financial service system is a real-time computing system for computing user metrics, including user behavior data.
Preferably, the new financial service system further comprises switches corresponding to the interception and shielding data, and updates the corresponding operation codes according to the interception and shielding data.
In example 2, the same parts as those in example 1 are omitted.
Compared with the prior art, the system reconstruction device reconstructs a new financial service system for multiparty data interaction by transplanting codes, replacing consumption methods to be non-consumption idempotent, adding an interface-level hot-cut switch and replacing an inquiry interface, performs verification comparison on the new and old systems in a test environment, synchronously consumes a double-write database in a production environment, realizes the minimum risk stable switching of the new and old systems, ensures the smooth upgrading of the systems, and improves the safety and service availability of the mutual cooperation between the whole system and other systems.
It will be appreciated by those skilled in the art that the modules in the embodiments of the system described above may be distributed throughout the system as described, or may be distributed in one or more devices different from the embodiments described above with corresponding variations. The modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
Example 3
The following describes an embodiment of an electronic device according to the present invention, which may be regarded as a specific physical implementation of the above-described embodiment of the method and apparatus according to the present invention. Details described in relation to the embodiments of the electronic device of the present invention should be considered as additions to the embodiments of the method or apparatus described above; for details not disclosed in the embodiments of the electronic device of the present invention, reference may be made to the above-described method or apparatus embodiments.
Fig. 7 is a block diagram of an exemplary embodiment of an electronic device according to the present invention. An electronic device 200 according to the present invention will be described below with reference to fig. 7. The electronic device 200 shown in fig. 7 is only an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 7, the electronic device 200 is in the form of a general purpose computing device. The components of the electronic device 200 may include, but are not limited to: at least one processing unit 210, at least one memory unit 220, a bus 230 connecting the different system components (including the memory unit 220 and the processing unit 210), a display unit 240, and the like.
Wherein the storage unit stores program code that is executable by the processing unit 210 such that the processing unit 210 performs the steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic device processing method section of the present specification. For example, the processing unit 210 may perform the steps shown in fig. 1.
The memory unit 220 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 2201 and/or cache memory 2202, and may further include Read Only Memory (ROM) 2203.
The storage unit 220 may also include a program/utility 2204 having a set (at least one) of program modules 2205, such program modules 2205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 230 may be a bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 200 may also communicate with one or more external devices 300 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 200, and/or any device (e.g., router, modem, etc.) that enables the electronic device 200 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 250. Also, the electronic device 200 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through a network adapter 260. Network adapter 260 may communicate with other modules of electronic device 200 via bus 230. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 200, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the exemplary embodiments described herein may be implemented in software, or may be implemented in software in combination with necessary hardware. Thus, the technical solution according to the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer readable storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, or a network device, etc.) to perform the above-mentioned method according to the present invention. The computer program, when executed by a data processing device, enables the computer readable medium to carry out the above-described method of the present invention.
As shown in fig. 8, the computer program may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in accordance with embodiments of the present invention may be implemented in practice using a general purpose data processing device such as a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
The above-described specific embodiments further describe the objects, technical solutions and advantageous effects of the present invention in detail, and it should be understood that the present invention is not inherently related to any particular computer, virtual device or electronic apparatus, and various general-purpose devices may also implement the present invention. The foregoing description of the embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (8)

1. A system reconstruction method for reconstructing a financial service system that performs data interactions with a plurality of systems and for querying business data associated with a financial product, the system reconstruction method comprising:
the old financial service system is connected with the message proxy server and the wind control approval system, and provides data query service for the business end, wherein the message proxy server is used for proxy of business data related to financial products, and the wind control approval system is used for receiving message consumption related information data from the old financial service system;
constructing a new financial service system parallel to the old financial service system, transplanting all codes of the old financial service system to the new financial service system, and changing the consumption mode of the old financial service system into message idempotent;
establishing a distributed database connected with the old financial service system and the new financial service system; the distributed database is used for receiving business data received by the old financial service system and the new financial service system from the message proxy server side respectively;
comparing the business data of the old financial service system with the business data of the new financial service system, and verifying a query interface of the new financial service system;
after verifying that each function index is normal, closing the old financial service system, and switching a query interface to a dubbo interface of the new financial service system to complete a reconstruction system;
after the query interface is switched to the dubbo interface of the new financial service system, a first switch and a second switch are turned on, and the first switch and the second switch consume a preset time period in parallel with the old financial service system so as to verify and compare whether the dubbo interface is consistent with the query interface of the old financial service system;
the first switch is used for storing data to the switch of the distributed database, and the second switch is used for sending information consumption related data to the wind control approval system; the first switch and/or the second switch is an interface-level hot-cut switch.
2. The system reconfiguration method of claim 1, wherein the shutting down the old financial service system and switching the query interface to the dubbo interface of the new financial service system after the verification of the normal function indicators includes:
switching a query interface of a service end into a dubbo interface;
the function indexes comprise a message consumption sending index, a service data database falling index and a service data query index.
3. The system reconstruction method according to claim 2, further comprising:
the monitoring message proxy server sends business data related to the financial products to the new financial service system, delays consumption and shields consumption, and then sends a consumption completion notification to the wind control approval system;
and the wind control approval system connected with the new financial service system directly establishes connection with a service end so as to be used for inquiring related service data by a user.
4. The system reconstruction method according to claim 1, wherein the comparing the business data of the old financial service system and the new financial service system comprises:
and comparing the consumption result of the new financial service system with the consumption result of the old financial service system by inquiring the latest data of the distributed database so as to judge whether message consumption and transmission are normal or not.
5. The system reconstruction method according to claim 1, wherein the old financial service system is a real-time computing system for computing user metrics, the user metrics including user behavior data.
6. A system reconstruction apparatus for reconstructing a financial service system, the system reconstruction apparatus comprising:
the system comprises a connection module, a message proxy server and a wind control approval system, wherein the connection module is used for connecting an old financial service system with the message proxy server and the wind control approval system, and providing data query service for a business end, the message proxy server is used for proxy of business data related to financial products, and the wind control approval system is used for receiving message consumption related information data from the old financial service system;
the construction module is used for constructing a new financial service system which is parallel to the old financial service system, transplanting all codes of the old financial service system to the new financial service system, and changing the consumption mode of the old financial service system into message idempotent;
a processing module for establishing a distributed database connected to the old financial service system and the new financial service system; the distributed database is used for receiving business data received by the old financial service system and the new financial service system from the message proxy server side respectively;
the verification module is used for comparing the business data of the old financial service system with the business data of the new financial service system and verifying a query interface of the new financial service system;
the switching module is used for closing the old financial service system and switching the query interface to the dubbo interface of the new financial service system after verifying that all the function indexes are normal so as to complete the reconstruction system; after the query interface is switched to the dubbo interface of the new financial service system, a first switch and a second switch are turned on, and the first switch and the second switch consume a preset time period in parallel with the old financial service system so as to verify and compare whether the dubbo interface is consistent with the query interface of the old financial service system; the first switch is used for storing data to the switch of the distributed database, and the second switch is used for sending information consumption related data to the wind control approval system; the first switch and/or the second switch is an interface stage thermal cut.
7. An electronic device, wherein the electronic device comprises:
a processor; the method comprises the steps of,
a memory storing computer executable instructions that when executed cause the processor to perform the system reconstruction method according to any one of claims 1 to 5.
8. A computer readable storage medium storing one or more programs which, when executed by a processor, implement the system reconstruction method of any one of claims 1 to 5.
CN202010676532.2A 2020-07-14 2020-07-14 System reconstruction method and device and electronic equipment Active CN112015469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010676532.2A CN112015469B (en) 2020-07-14 2020-07-14 System reconstruction method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010676532.2A CN112015469B (en) 2020-07-14 2020-07-14 System reconstruction method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112015469A CN112015469A (en) 2020-12-01
CN112015469B true CN112015469B (en) 2023-11-14

Family

ID=73499724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010676532.2A Active CN112015469B (en) 2020-07-14 2020-07-14 System reconstruction method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112015469B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162858A (en) * 2021-04-23 2021-07-23 中科云谷科技有限公司 Flow forwarding system, equipment and method and Internet of things system
CN116360846B (en) * 2022-12-05 2023-11-17 北京白驹易行科技有限公司 Correctness comparison method and system for micro-service change

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727629A (en) * 2008-10-10 2010-06-09 北京资和信担保有限公司 Self-organization distribution business system
CN101727316A (en) * 2008-10-22 2010-06-09 上海超级计算中心 Parallel program integrated development system suitable for clustering system as well as application implementation method thereof
CN103473031A (en) * 2013-01-18 2013-12-25 龙建 Cooperative concurrent message bus, driving member assembly model and member disassembly method
CN105373563A (en) * 2014-08-28 2016-03-02 北京奇虎科技有限公司 Database switching method and apparatus
WO2016107456A1 (en) * 2014-12-29 2016-07-07 阿里巴巴集团控股有限公司 Message processing method, device, and system
WO2017071384A1 (en) * 2015-10-30 2017-05-04 中兴通讯股份有限公司 Message processing method and apparatus
CN108255727A (en) * 2018-01-18 2018-07-06 网易(杭州)网络有限公司 Data receiver, sending method and device test system, storage medium
CN108418851A (en) * 2018-01-12 2018-08-17 阿里巴巴集团控股有限公司 Policy issue system, method, apparatus and equipment
CN108920563A (en) * 2018-06-21 2018-11-30 阿里巴巴集团控股有限公司 A kind of database switching method and device
CN109165106A (en) * 2018-08-24 2019-01-08 深圳乐信软件技术有限公司 Method for processing business, device, equipment, storage medium and process flow operation system
CN110019444A (en) * 2017-09-08 2019-07-16 阿里巴巴集团控股有限公司 A kind of operation requests processing method, device, equipment and system
CN110321339A (en) * 2019-07-04 2019-10-11 深圳乐信软件技术有限公司 A kind of data migration method, device, equipment and storage medium
CN110489437A (en) * 2019-08-21 2019-11-22 中国工商银行股份有限公司 Distributed transaction processing method, device, computer equipment and storage medium
CN110719318A (en) * 2019-09-06 2020-01-21 上海陆家嘴国际金融资产交易市场股份有限公司 Message processing method and system
CN110807016A (en) * 2019-09-29 2020-02-18 北京淇瑀信息科技有限公司 Data warehouse construction method and device applied to financial business and electronic equipment

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727629A (en) * 2008-10-10 2010-06-09 北京资和信担保有限公司 Self-organization distribution business system
CN101727316A (en) * 2008-10-22 2010-06-09 上海超级计算中心 Parallel program integrated development system suitable for clustering system as well as application implementation method thereof
CN103473031A (en) * 2013-01-18 2013-12-25 龙建 Cooperative concurrent message bus, driving member assembly model and member disassembly method
CN105373563A (en) * 2014-08-28 2016-03-02 北京奇虎科技有限公司 Database switching method and apparatus
WO2016107456A1 (en) * 2014-12-29 2016-07-07 阿里巴巴集团控股有限公司 Message processing method, device, and system
WO2017071384A1 (en) * 2015-10-30 2017-05-04 中兴通讯股份有限公司 Message processing method and apparatus
CN110019444A (en) * 2017-09-08 2019-07-16 阿里巴巴集团控股有限公司 A kind of operation requests processing method, device, equipment and system
CN108418851A (en) * 2018-01-12 2018-08-17 阿里巴巴集团控股有限公司 Policy issue system, method, apparatus and equipment
CN108255727A (en) * 2018-01-18 2018-07-06 网易(杭州)网络有限公司 Data receiver, sending method and device test system, storage medium
CN108920563A (en) * 2018-06-21 2018-11-30 阿里巴巴集团控股有限公司 A kind of database switching method and device
CN109165106A (en) * 2018-08-24 2019-01-08 深圳乐信软件技术有限公司 Method for processing business, device, equipment, storage medium and process flow operation system
CN110321339A (en) * 2019-07-04 2019-10-11 深圳乐信软件技术有限公司 A kind of data migration method, device, equipment and storage medium
CN110489437A (en) * 2019-08-21 2019-11-22 中国工商银行股份有限公司 Distributed transaction processing method, device, computer equipment and storage medium
CN110719318A (en) * 2019-09-06 2020-01-21 上海陆家嘴国际金融资产交易市场股份有限公司 Message processing method and system
CN110807016A (en) * 2019-09-29 2020-02-18 北京淇瑀信息科技有限公司 Data warehouse construction method and device applied to financial business and electronic equipment

Also Published As

Publication number Publication date
CN112015469A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
US20200089485A1 (en) Recommending software project dependency upgrades
CN111181770B (en) Resource allocation method, system, electronic equipment and storage medium
CN112015402B (en) Method and device for quickly establishing service scene and electronic equipment
CN112100079B (en) Test method and system based on simulation data calling and electronic equipment
CN112015469B (en) System reconstruction method and device and electronic equipment
CN112235130A (en) Method and device for realizing operation and maintenance automation based on SDN network
Manchana Optimizing Material Management through Advanced System Integration, Control Bus, and Scalable Architecture
CN111580855B (en) Policy issuing method and system based on full-flow gray level issuing and electronic equipment
CN110780979A (en) Control method and device for configuration under micro-service framework, medium and electronic equipment
CN113312341B (en) Data quality monitoring method, system and computer equipment
US9727117B2 (en) Validating power paths to it equipment
CN113296828B (en) Method, server and system for releasing application
CN112947919A (en) Method and device for constructing service model and processing service request
CN112579402B (en) Method and device for positioning faults of application system
WO2024001240A1 (en) Task integration method and apparatus for multiple technology stacks
CN111209018B (en) Method and device for processing application upgrading prompt information and electronic equipment
WO2023124366A1 (en) Shadow system-based feature comparison method and apparatus, and electronic device
CN111258607A (en) Version upgrading method, device, equipment and storage medium based on shunting
CN113141613B (en) Communication channel detection method and device and electronic equipment
CN110347505B (en) Access method and device supporting cross-network-segment scheduling and electronic equipment
CN112015590B (en) Multi-level disaster recovery method and device and electronic equipment
Bannour et al. A flexible GraphQL northbound API for intent-based SDN applications
CN116051031A (en) Project scheduling system, medium and electronic equipment
US9800469B2 (en) Predicting the performance of a multi-stage communications network under load from multiple communicating servers
CN112559001B (en) Method and device for updating application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant