CN113807969A - Parallel verification method for service system and related equipment - Google Patents

Parallel verification method for service system and related equipment Download PDF

Info

Publication number
CN113807969A
CN113807969A CN202111108051.2A CN202111108051A CN113807969A CN 113807969 A CN113807969 A CN 113807969A CN 202111108051 A CN202111108051 A CN 202111108051A CN 113807969 A CN113807969 A CN 113807969A
Authority
CN
China
Prior art keywords
service
transaction
flow information
service system
distributed
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.)
Pending
Application number
CN202111108051.2A
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202111108051.2A priority Critical patent/CN113807969A/en
Publication of CN113807969A publication Critical patent/CN113807969A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3404Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for parallel or distributed programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The parallel verification method and the related equipment for the business system can obtain first transaction flow information generated by a centralized business system; integrating the service function of the first transaction flow information to obtain simulated transaction data information; transmitting the simulated transaction data information to a distributed service system for service transaction playback, and acquiring second transaction flow information generated by the distributed service system; and comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system. According to the method, transaction flow information of the centralized service system is used for carrying out transaction playback on the distributed service system, and then the service function verification result of the distributed service system is obtained through comparison verification, so that the transaction logic, the accuracy of the service rule and the service function of each subsystem of the distributed service system are effectively verified.

Description

Parallel verification method for service system and related equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a parallel verification method for a service system and a related device.
Background
With the gradual advance of the modern construction process of China and the improvement of the living standard of people, the demand on financial services is higher and higher, and the business volume borne by the system is larger and larger. Under the traditional centralized architecture, more servers are needed to deal with the large-scale application scenario.
Due to the characteristics of cohesiveness and transparency of the distributed system, in order to meet the increasing system pressure and the high availability demand of the system, it is a development trend in the current environment to perform distributed modification on the traditional centralized architecture.
For the banking system, since the requirement of business transaction is much higher than that of a general e-commerce platform and other internet applications, effective business function verification needs to be performed on the modified distributed business system when performing distributed modification.
Disclosure of Invention
In view of the foregoing problems, the present disclosure provides a business system parallel verification method and related device that overcome the foregoing problems or at least partially solve the foregoing problems, and the technical solutions are as follows:
a parallel verification method for a business system comprises the following steps:
obtaining first transaction flow information generated by a centralized business system;
integrating the service function of the first transaction flow information to obtain simulated transaction data information;
transmitting the simulated transaction data information to a distributed service system for service transaction playback, and acquiring second transaction flow information generated by the distributed service system;
and comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system.
Optionally, the performing service function integration on the first transaction flow information to obtain simulated transaction data information includes:
classifying and integrating all service functions in the first transaction flow information according to preset function types to obtain simulated transaction data information, wherein the preset function types comprise: message conversion, transaction routing, service invocation and resource allocation.
Optionally, the method further includes:
if the simulated transaction data information comprises the outbound transaction of the associated communication between the centralized service system and other service systems, simulating the other service systems by a preset dynamic test baffle in the service transaction playback process, generating an outbound return simulation message corresponding to the outbound transaction, and transmitting the outbound return simulation message to the distributed service system.
Optionally, the comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system includes:
and comparing and verifying the first transaction flow information and the second transaction flow information by using a pre-constructed database comparison tool to obtain a service function verification result of the distributed service system.
Optionally, the service function verification result includes a functional verification result and a non-functional result of at least one service subsystem in the distributed service system.
Optionally, after obtaining the service function verification result of the distributed service system, the method further includes:
and determining whether the distributed service system meets preset external service conditions or not by using the service function verification result, and if so, switching the service system providing services to the outside from the centralized service system to the distributed service system so that the distributed service system replaces the centralized service system to provide services to the outside.
Optionally, each service subsystem in the distributed service system corresponds to a preset parallel verification frequency, where the preset parallel verification frequency is related to a transaction magnitude of the service subsystem.
A business system concurrency verification apparatus, comprising: a first transaction flow information obtaining unit, a simulated transaction data information obtaining unit, a second transaction flow information obtaining unit and a service function verification result unit,
the first transaction flow information obtaining unit is used for obtaining first transaction flow information generated by the centralized business system;
the simulated transaction data information obtaining unit is used for integrating the service function of the first transaction flow information to obtain simulated transaction data information;
the second transaction flow information obtaining unit is used for transmitting the simulated transaction data information to a distributed service system for service transaction playback, and obtaining second transaction flow information generated by the distributed service system;
and the service function verification result unit is used for comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system.
A computer-readable storage medium, on which a program is stored, which program, when executed by a processor, implements a business system parallel validation method as claimed in any one of the preceding claims.
An electronic device comprising at least one processor, and at least one memory connected to the processor, a bus; the processor and the memory complete mutual communication through the bus; the processor is used for calling the program instructions in the memory to execute the business system parallel verification method according to any one of the above items.
By means of the technical scheme, the business system parallel verification method and the related equipment provided by the disclosure can obtain first transaction flow information generated by a centralized business system; integrating the service function of the first transaction flow information to obtain simulated transaction data information; transmitting the simulated transaction data information to a distributed service system for service transaction playback, and acquiring second transaction flow information generated by the distributed service system; and comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system. According to the method, transaction flow information of the centralized service system is used for carrying out transaction playback on the distributed service system, and then the service function verification result of the distributed service system is obtained through comparison verification, so that the transaction logic, the accuracy of the service rule and the service function of each subsystem of the distributed service system are effectively verified.
The foregoing description is only an overview of the technical solutions of the present disclosure, and the embodiments of the present disclosure are described below in order to make the technical means of the present disclosure more clearly understood and to make the above and other objects, features, and advantages of the present disclosure more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the disclosure. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating an implementation manner of a parallel verification method for a business system according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating another implementation manner of a business system parallel verification method provided by an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating another implementation manner of a business system parallel verification method provided by an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating another implementation manner of a business system parallel verification method provided by an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram illustrating a business system parallel verification apparatus provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating a production environment for parallel period business transactions provided by embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In the actual generation process, in order to ensure that the constructed distributed system can ensure the transaction consistency, the centralized service system and the distributed service system are usually required to perform double-computer simulation for a period of time. During this parallel period, the centralized business system is temporarily not offline, and the real business transaction is still running on the centralized business system. The distributed business system does not provide services to the outside during this parallelism.
In order to evaluate the validity and stability of the distributed service system during the parallel period, embodiments of the present disclosure provide a parallel verification method for a service system, where the validity and stability of the distributed service system are evaluated by performing service transaction playback on a transaction pipeline generated by a centralized service system on the distributed service system, that is, performing simulation operation on service transactions in the distributed service system.
As shown in fig. 1, a flow diagram of an implementation manner of a parallel verification method for a service system provided in the embodiment of the present disclosure is shown, where the parallel verification method for a service system may include:
s100, first transaction flow information generated by the centralized business system is obtained.
Wherein the centralized business system may be a centralized system that handles banking. The embodiment of the disclosure can obtain the first transaction flow information generated by processing the real service transaction by the centralized service system.
The first transaction flow information may include data information generated when the centralized service system provides corresponding services for a service transaction respectively by using a plurality of service functions invoked during processing of the service transaction. For example: the data information may include transaction processing information and corresponding message information.
S200, integrating the service function of the first transaction flow information to obtain simulated transaction data information.
Because the system logics of the centralized business system and the distributed business system are different, in order to shield the technical characteristics of the background business service of the centralized business system and provide a standardized service calling function for subsequent business transaction playback on the distributed business system, the embodiment of the disclosure can perform standardized service function integration on the first transaction flow information generated by the centralized business system, so that the simulated transaction data information obtained after the service function integration can be directly used for business transaction playback on the distributed business system.
Optionally, based on the method shown in fig. 1, as shown in fig. 2, a flowchart of another implementation manner of the parallel verification method for the service system provided in the embodiment of the present disclosure is shown, and step S200 may include:
s210, classifying and integrating all service functions in the first transaction flow information according to preset function types to obtain simulated transaction data information, wherein the preset function types comprise: message conversion, transaction routing, service invocation and resource allocation.
In a typical case, the preset function type is a type of each service call function involved in processing a business transaction. It is understood that the preset function type can also be set according to actual requirements. The embodiment of the disclosure integrates the operations of message conversion, transaction routing, service invocation, resource allocation and the like in the first transaction flow information, so that the simulated transaction data information obtained after integration can be directly played back in the transaction on the distributed service system.
S300, transmitting the simulated transaction data information to the distributed service system for service transaction playback, and acquiring second transaction flow information generated by the distributed service system.
In the actual business transaction, an outbound transaction between the centralized business system and other business systems may be involved. For example: when the centralized business system of the bank processes the credit borrowing business, the credit inquiry function of the borrower is provided by the credit inquiry system outside the bank, and the transaction generated by the association communication between the centralized business system and the credit inquiry system outside the bank is the outgoing transaction.
Optionally, if the simulated transaction data information includes an outbound transaction in which the centralized service system performs associated communication with other service systems, simulating the other service systems by using a preset dynamic test baffle in the service transaction playback process, generating an outbound return simulation message corresponding to the outbound transaction, and transmitting the outbound return simulation message to the distributed service system.
The term "baffle" is used herein to refer to a plate used in the art of system testing. The test barrier is mainly a mock developed for simulating peripheral systems, services and interfaces.
In order to simulate real service transaction processing for service transaction playback performed on the distributed service system, a dynamic test baffle can be constructed in advance in the embodiment of the disclosure to simulate a transaction link between the other service system and the centralized service system, so that an outbound return simulation message received on the distributed service system is the same as an outbound return message received when the centralized service system relates to outbound transaction processing, thereby realizing complete service transaction playback on the distributed service system and achieving the purpose of truly simulating service transaction processing.
It can be understood that, since other service systems related to different service transaction processing may be different, the embodiment of the present disclosure may construct a dynamic test barrier capable of simulating transaction links corresponding to a plurality of different other service systems according to actual requirements, where the dynamic test barrier dynamically simulates corresponding transaction links according to other service systems specifically related to service transaction playback.
According to the embodiment of the disclosure, the preset dynamic test baffle is used for performing transaction link simulation on other service systems involved in the service transaction playback process of the distributed service system, so that the service transaction playback process performed on the distributed service system is complete and effective, and the second transaction flow information can accurately reflect the processing result of the service transaction processing of the distributed service system.
S400, comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system.
Optionally, the embodiment of the present disclosure may compare and verify data corresponding to the preset target comparison data item in the first transaction flow information and the second transaction flow information, and accurately verify the functionality and the non-functionality of the distributed service system.
Optionally, in the embodiment of the present disclosure, corresponding error intervals may be set for each preset target comparison data item. If the error between the data corresponding to the preset target comparison data item in the first transaction flow information and the second transaction flow information is in the error interval, the data of the preset target comparison item between the centralized service system and the distributed service system can be determined to be consistent.
In general, distributed service systems have better performance than centralized service systems. Therefore, the embodiment of the disclosure can verify the non-functionality of the distributed service system by using the comparison verification between the first transaction flow information and the second transaction flow information.
Where functional and non-functional herein are terms specific to the field of system testing. The functionality of the distributed business system indicates that the distributed business system has the capability of completing business transaction processing. The non-functionality of the distributed business system means that the distributed business system has the ability to complete business transaction processing more efficiently than a centralized business system. Optionally, the non-functionality of the distributed service system may include: capacity, reliability, maintainability, security, ease of use, and data consistency.
It is understood that the distributed services provided by the distributed business system are distributed and deployed on different machines, one service may be responsible for several functions, and is an SOA-oriented architecture, and the services interact with each other through rpc or webservice. A distributed deployment may be considered where the system application is deployed on more than one server or virtual machine and the separately deployed portions exchange information with each other via various communication protocols. Thus, a distributed service system may contain multiple service subsystems. And carrying out parallel verification on the distributed service system, namely carrying out parallel verification on each service subsystem in the distributed service system. The verification result of the parallel verification of each service subsystem determines the verification result of the service function of the distributed service system.
Optionally, the service function verification result includes a functional verification result and a non-functional result of at least one service subsystem in the distributed service system.
Optionally, each service subsystem in the distributed service system corresponds to a preset parallel verification frequency, and the preset parallel verification frequency is related to the transaction magnitude of the service subsystem. For example: for a service subsystem with a transaction magnitude above a preset first threshold, parallel verification can be performed once for three days at the parallel verification frequency set for the service subsystem. For a service subsystem with a transaction magnitude below a preset second threshold, the parallel verification frequency set for the service subsystem may be once per day. The parallel verification frequency is correspondingly set according to the transaction magnitude of each service subsystem, computer resources for parallel verification in the parallel period of the double systems are reasonably utilized, and the efficiency of the overall parallel verification is improved.
Optionally, based on the method shown in fig. 1, as shown in fig. 3, a flowchart of another implementation manner of the parallel verification method for the service system provided in the embodiment of the present disclosure is shown, and step S400 may include:
s410, comparing and verifying the first transaction flow information and the second transaction flow information by using a pre-constructed database comparison tool to obtain a service function verification result of the distributed service system.
According to the embodiment of the disclosure, a database comparison tool capable of comparing and verifying transaction flow information generated by different systems can be constructed in advance according to a centralized service system and a distributed service system. It can be understood that, on the basis of the existing database comparison tool, the embodiment of the present disclosure may also perform adaptive transformation on transaction flow information generated by actual business transactions to obtain a database comparison tool that can compare and verify the first transaction flow information and the second transaction flow information.
According to the embodiment of the disclosure, the first transaction flow information and the second transaction flow information are compared and verified through the database comparison tool, so that the comparison and verification efficiency can be greatly improved, and the service function verification result of the distributed service system can be obtained more quickly.
The parallel verification method for the business system can obtain first transaction flow information generated by a centralized business system; integrating the service function of the first transaction flow information to obtain simulated transaction data information; transmitting the simulated transaction data information to a distributed service system for service transaction playback, and acquiring second transaction flow information generated by the distributed service system; and comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system. According to the method, transaction flow information of the centralized service system is used for carrying out transaction playback on the distributed service system, and then the service function verification result of the distributed service system is obtained through comparison verification, so that the transaction logic, the accuracy of the service rule and the service function of each subsystem of the distributed service system are effectively verified.
Optionally, based on the method shown in fig. 1, as shown in fig. 4, a flowchart of another implementation manner of the parallel verification method for the service system provided in the embodiment of the present disclosure is shown, after step S400, the parallel verification method for the service system may further include:
s500, determining whether the distributed service system meets preset external service conditions or not by using the service function verification result, and executing the step S600 if the distributed service system meets the preset external service conditions.
It can be understood that, in the parallel period, the embodiments of the present disclosure may obtain a plurality of service function verification results after the distributed service system is verified in parallel for a plurality of times, and if the service function verification results do not satisfy the preset external service condition, the distributed service system may be adjusted according to the service function verification results obtained after each parallel verification until the service function verification results satisfy the preset external service condition.
The preset external service condition can be set according to actual requirements. In a general case, the preset external service condition at least includes that the distributed service system can correctly realize all service transaction functions of the centralized service system.
S600, switching the service system providing the service to the outside from the centralized service system to the distributed service system so that the distributed service system replaces the centralized service system to provide the service to the outside.
According to the embodiment of the disclosure, the distributed service system performs effective service transaction function verification on the premise that real service transaction is not affected by a service function verification result obtained after parallel verification is performed on the distributed service system during the double-machine parallel verification period, the distributed service system can be adjusted in time, and after a preset external service condition is met, the centralized service system is switched to the distributed service system to process real service transaction, so that data consistency before and after switching of the service system is ensured, and stable transition of the service system is ensured.
Although the operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Corresponding to the foregoing method embodiment, an embodiment of the present disclosure further provides a parallel verification apparatus for a service system, where the structure of the parallel verification apparatus is shown in fig. 5, and the parallel verification apparatus may include: the system comprises a first transaction flow information obtaining unit 100, a simulated transaction data information obtaining unit 200, a second transaction flow information obtaining unit 300 and a business function verification result unit 400.
The first transaction flow information obtaining unit 100 is configured to obtain first transaction flow information generated by the centralized business system.
The simulated transaction data information obtaining unit 200 is configured to perform service function integration on the first transaction flow information to obtain simulated transaction data information.
And a second transaction flow information obtaining unit 300, configured to transmit the simulated transaction data information to the distributed service system for service transaction playback, so as to obtain second transaction flow information generated by the distributed service system.
And a service function verification result unit 400, configured to compare and verify the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system.
Optionally, the simulated transaction data information obtaining unit 200 is specifically configured to perform classification integration on each service function in the first transaction flow information according to a preset function type to obtain simulated transaction data information, where the preset function type includes: message conversion, transaction routing, service invocation and resource allocation.
Optionally, the parallel verification apparatus for a service system may further include: and an outbound transaction simulation unit.
And the outbound transaction simulation unit is used for simulating other service systems by a preset dynamic test baffle in the service transaction playback process if the simulated transaction data information comprises outbound transactions in which the centralized service system and other service systems perform associated communication, generating outbound return simulation messages corresponding to the outbound transactions, and transmitting the outbound return simulation messages to the distributed service system.
Optionally, the service function verification result unit 400 is specifically configured to compare and verify the first transaction flow information and the second transaction flow information by using a pre-constructed database comparison tool, so as to obtain a service function verification result of the distributed service system.
Optionally, the service function verification result includes a functional verification result and a non-functional result of at least one service subsystem in the distributed service system.
Optionally, the parallel verification apparatus for a service system may further include: an external service condition verifying unit and a service system switching unit.
And an external service condition verification unit, configured to determine whether the distributed service system meets a preset external service condition according to the service function verification result after the service function verification result unit 400 obtains the service function verification result of the distributed service system, and if so, trigger the service system switching unit.
And the service system switching unit is used for switching the service system which provides the service to the outside from the centralized service system to the distributed service system so that the distributed service system replaces the centralized service system to provide the service to the outside.
Optionally, each service subsystem in the distributed service system corresponds to a preset parallel verification frequency, and the preset parallel verification frequency is related to the transaction magnitude of the service subsystem.
The parallel verification device for the business system can obtain first transaction flow information generated by a centralized business system; integrating the service function of the first transaction flow information to obtain simulated transaction data information; transmitting the simulated transaction data information to a distributed service system for service transaction playback, and acquiring second transaction flow information generated by the distributed service system; and comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system. According to the method, transaction flow information of the centralized service system is used for carrying out transaction playback on the distributed service system, and then the service function verification result of the distributed service system is obtained through comparison verification, so that the transaction logic, the accuracy of the service rule and the service function of each subsystem of the distributed service system are effectively verified.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The business system parallel verification device comprises a processor and a memory, wherein the first transaction flow information obtaining unit 100, the simulated transaction data information obtaining unit 200, the second transaction flow information obtaining unit 300, the business function verification result unit 400 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, the business transaction is played back on the distributed business system through adjusting kernel parameters through transaction flow information of the centralized business system, and then a business function verification result of the distributed business system is obtained through comparison verification, so that the effective verification of the transaction logic, the business rule accuracy and the business functions of each subsystem of the distributed business system is realized.
The disclosed embodiments provide a computer-readable storage medium on which a program is stored, which, when executed by a processor, implements the business system parallel validation method.
The embodiment of the disclosure provides a processor, which is used for running a program, wherein the program executes the business system parallel verification method during running.
The embodiment of the disclosure provides an electronic device, which comprises at least one processor, at least one memory connected with the processor, and a bus; the processor and the memory complete mutual communication through a bus; the processor is used for calling the program instructions in the memory so as to execute the business system parallel verification method. The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present disclosure also provides a computer program product adapted to perform a program of initializing a business system concurrent authentication method step when executed on an electronic device.
To facilitate an understanding of the production environment for business transactions during parallelism, an example is illustrated herein in connection with FIG. 6: during the parallel period, the real business transaction is processed through a channel platform and a centralized application platform of a centralized business system architecture and a centralized product platform respectively, and the centralized application platform can comprise a specific business system A, a specific business system B and a specific business system C to generate corresponding transaction flow water and message information. The channel platform receives service requests from different channels (including a customer channel and an employee channel) through a standardized access means, processes and encapsulates data from the different channels, calls background service and returns an operation result. The centralized application platform provides a standardized service calling function, receives the service request in a standardized way, shields background service for the service request, and returns a service result in a consistent form. The centralized product platform provides professional and deep product services based on banking, relates to products, customers, contracts, accounting and the like, and provides product and service processing components which are irrelevant to channels.
The distributed business system comprises a distributed application platform and a distributed product platform. And the application routing identifies the data storage position according to the transaction message information and routes the transaction information to a correct destination (the storage place of the transaction data). The service integration agent solves the problem of distributed transactions generated by cross-platform and cross-deployment regions in part of transactions through transaction splitting and integration. The distributed system comprises a system M, a system N, a system P and a system Q for realizing different service functions, a corresponding parallel tool is included in the distributed product platform, and in order to carry out transaction playback on the online pipeline and verify the functions and non-functions of the distributed service system, the parallel tool comprises a service integration module, a playback module, a comparison module and a baffle module.
The service integration module is used for collecting transaction running water of the centralized business system, performing standardized integration on transactions of the centralized business system, shielding technical characteristics of background business services, and providing data information of simulated transactions for the playback module.
The playback module is used for capturing real transaction, request and message data information in the centralized business system and playing back the transaction by comparing the transaction in online transaction of the centralized business system of the mobile phone through the playback tool.
The baffle module is used for ensuring that the same outbound return message is obtained by the centralized service system through the dynamic baffle when the outbound transaction related to other service systems is involved.
The comparison module is used for comparing the data consistency of the centralized service system and the distributed service system through a database comparison tool.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, electronic devices (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, an electronic device includes one or more processors (CPUs), memory, and a bus. The electronic device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
In the description of the present disclosure, it is to be understood that the directions or positional relationships indicated as referring to the terms "upper", "lower", "front", "rear", "left" and "right", etc., are based on the directions or positional relationships shown in the drawings, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the positions or elements referred to must have specific directions, be constituted and operated in specific directions, and thus, are not to be construed as limitations of the present disclosure.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The above are merely examples of the present disclosure, and are not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (10)

1. A parallel verification method for a business system is characterized by comprising the following steps:
obtaining first transaction flow information generated by a centralized business system;
integrating the service function of the first transaction flow information to obtain simulated transaction data information;
transmitting the simulated transaction data information to a distributed service system for service transaction playback, and acquiring second transaction flow information generated by the distributed service system;
and comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system.
2. The method of claim 1, wherein the integrating the service function of the first transaction flow information to obtain simulated transaction data information comprises:
classifying and integrating all service functions in the first transaction flow information according to preset function types to obtain simulated transaction data information, wherein the preset function types comprise: message conversion, transaction routing, service invocation and resource allocation.
3. The method of claim 2, further comprising:
if the simulated transaction data information comprises the outbound transaction of the associated communication between the centralized service system and other service systems, simulating the other service systems by a preset dynamic test baffle in the service transaction playback process, generating an outbound return simulation message corresponding to the outbound transaction, and transmitting the outbound return simulation message to the distributed service system.
4. The method according to claim 1, wherein the comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system comprises:
and comparing and verifying the first transaction flow information and the second transaction flow information by using a pre-constructed database comparison tool to obtain a service function verification result of the distributed service system.
5. The method of claim 1, wherein the service functionality verification result comprises a functionality verification result and a non-functionality result of at least one service subsystem in the distributed service system.
6. The method of claim 1, wherein after the obtaining the service function verification result of the distributed service system, the method further comprises:
and determining whether the distributed service system meets preset external service conditions or not by using the service function verification result, and if so, switching the service system providing services to the outside from the centralized service system to the distributed service system so that the distributed service system replaces the centralized service system to provide services to the outside.
7. The method of claim 5, wherein each service subsystem in the distributed service system has a corresponding preset parallel authentication frequency, and the preset parallel authentication frequency is related to a transaction magnitude of the service subsystem.
8. A business system parallel verification apparatus, comprising: a first transaction flow information obtaining unit, a simulated transaction data information obtaining unit, a second transaction flow information obtaining unit and a service function verification result unit,
the first transaction flow information obtaining unit is used for obtaining first transaction flow information generated by the centralized business system;
the simulated transaction data information obtaining unit is used for integrating the service function of the first transaction flow information to obtain simulated transaction data information;
the second transaction flow information obtaining unit is used for transmitting the simulated transaction data information to a distributed service system for service transaction playback, and obtaining second transaction flow information generated by the distributed service system;
and the service function verification result unit is used for comparing and verifying the first transaction flow information and the second transaction flow information to obtain a service function verification result of the distributed service system.
9. A computer-readable storage medium, on which a program is stored, which, when being executed by a processor, implements the business system parallel validation method according to any one of claims 1 to 7.
10. An electronic device comprising at least one processor, and at least one memory connected to the processor, a bus; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform the business system parallel validation method of any of claims 1 to 7.
CN202111108051.2A 2021-09-22 2021-09-22 Parallel verification method for service system and related equipment Pending CN113807969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111108051.2A CN113807969A (en) 2021-09-22 2021-09-22 Parallel verification method for service system and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111108051.2A CN113807969A (en) 2021-09-22 2021-09-22 Parallel verification method for service system and related equipment

Publications (1)

Publication Number Publication Date
CN113807969A true CN113807969A (en) 2021-12-17

Family

ID=78940033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111108051.2A Pending CN113807969A (en) 2021-09-22 2021-09-22 Parallel verification method for service system and related equipment

Country Status (1)

Country Link
CN (1) CN113807969A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115936886A (en) * 2023-03-15 2023-04-07 深圳华锐分布式技术股份有限公司 Failure detection method, device, equipment and medium for heterogeneous security trading system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115936886A (en) * 2023-03-15 2023-04-07 深圳华锐分布式技术股份有限公司 Failure detection method, device, equipment and medium for heterogeneous security trading system

Similar Documents

Publication Publication Date Title
TWI705346B (en) Transaction method and system based on centralized settlement and blockchain deposit certificate
CN109981679B (en) Method and apparatus for performing transactions in a blockchain network
CN109242453B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
CN108563567B (en) Automated testing method, apparatus, device and computer readable storage medium
US20120266185A1 (en) Service oriented architecture infrastructure for business process verification and systems integrated testing
CN112801658B (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
US11886423B2 (en) Blockchain-based recording and querying operations
CN109285069B (en) Resource transfer method, device and server
CN110086872B (en) Data processing method and system of SCADA system
Garcia Bringas et al. BlockChain platforms in financial services: current perspective
CN111415146A (en) Resource data processing method, device and equipment
CN113807969A (en) Parallel verification method for service system and related equipment
CN113743678A (en) User credit score prediction method and related equipment
CN107395663B (en) Data acquisition method and device
CN112801557A (en) Risk evaluation method and device based on block chain
CN113095825A (en) Asset management method and device based on block chain and electronic equipment
CN111062622A (en) Electric power market trading system
CN115470139A (en) Interface testing method and related equipment
CN116451280A (en) Asset management method and device based on blockchain
CN111865726B (en) Service message testing method, device, computer system and storage medium
CN113450085A (en) Service processing method, system, storage medium and electronic equipment
CN113608995A (en) Number making method and device, computer equipment and storage medium
CN112596929B (en) Micro-service registration and calling method based on command event conversion and related device
CN112966311B (en) Intelligent contract checking method and device and electronic equipment
CN113269627A (en) Accounting processing method and device

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