Processing system and method for transferring mainframe transactions to distributed platforms

By introducing grayscale chain slots and proxy forwarding components into the processing system of large-machine transaction migration to distributed platform, the limitations of commercial banks' grayscale pilot projects during the migration process are solved, safe and fast migration is achieved, and supportive of Custom extensions avoid changes in large-scale transaction codes.

CN112785440BActive Publication Date: 2024-11-15INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110318407.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-25
Publication Date
2024-11-15
Estimated Expiration
2041-03-25

AI Technical Summary

Technical Problem

During the migration of large-scale transactions to distributed platforms, commercial banks cannot effectively carry out grayscale pilot projects, cannot customize and arrange full-scale interface-level grayscale, and the load balancing mode cannot carry out grayscale pilot projects around the business level, which has security and Compatibility limitations.

Method used

A processing system for large-machine transaction to distributed platform is designed, including grayscale devices and proxy forwarding components, and the transaction request is forwarded to large-machine transaction device or distributed platform services according to preset rules. Supports user-defined slot assembly and arrangement, implements grayscale routing, and generates grayscale rule configuration through slot chains, blocks the complexity of large-machine transactions, and supports custom expansion.

Benefits of technology

It realizes safe and fast grayscale migration during the migration process, blocks the complexity of large-machine transactions, supports each large-machine transaction to selectively insert grayscale logic according to its own business characteristics, avoids changes in the original large-machine transaction code, and provides Out-of-the-box solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112785440B_ABST
    Figure CN112785440B_ABST
Patent Text Reader

Abstract

The present invention provides a processing system and method for transferring mainframe transactions to distributed platforms, which relates to the field of big data transaction processing and can be applied to the financial field and other fields. The system comprises a grayscale device, a mainframe transaction device and a distributed platform service device; the grayscale device comprises a proxy forwarding component and a grayscale chain slot; the proxy forwarding component is used to act as a proxy for the transaction interface of the mainframe transaction device, and forward the transaction request to the mainframe transaction device or the grayscale chain slot according to the matching result of the received transaction request and the preset grayscale rule; the grayscale chain slot is used to assemble and arrange a predetermined slot slot group and a user-defined slot slot into a slot chain, and generate a grayscale rule configuration through the slot chain according to the received transaction request, and use the grayscale rule configuration to gray-route the transaction request to the mainframe transaction device or the distributed platform service device; the mainframe transaction device and the distributed platform service device are used to process the received transaction request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data transaction processing, and can be applied to the financial field and other fields, and in particular to a processing system and method for transferring large-scale machine transactions to a distributed platform. Background Art

[0002] With the popularization of the Internet and the rapid growth of Internet users, the traditional mainframe trading system can no longer meet the increasing user pressure on system capacity and high availability. The advantages of distributed platforms in business innovation and system support of commercial banks are becoming more and more prominent, and can effectively solve the growing business needs and system pressure. A set of mainframe trading agents and grayscale devices are urgently needed to solve the problem of safe, stable and fast migration of commercial banks' core business systems from mainframe trading to distributed platforms.

[0003] In the process of transforming different mainframe transaction migration distributed systems, commercial banks need to consider grayscale pilots in different dimensions, conversion of different interface programs, and new business needs during the system switching process in order to ensure the business impact on existing customers and the stable development of new business needs.

[0004] The common methods in the industry are as shown in the figure below, which are based on the internal logic of the mainframe transaction to perform grayscale or load balancing to perform corresponding flow switching. Internal interface grayscale mode ( Figure 1A ) is a logical grayscale for a single mainframe interface when the product application calls the mainframe transaction interface. Load balancing mode ( Figure 1B ) is when the product application calls the mainframe transaction interface, it directly uses the load balancing server to route transactions to distributed services.

[0005] from Figure 1A and Figure 1B It can be found that the above method can indeed solve the grayscale pilot problem of mainframe transformation, but the internal interface grayscale mode needs to face the risks of unfamiliar transformation of the mainframe stock code, adding special branches for different mainframe transactions, and it is impossible to customize the grayscale arrangement at the full interface level. The load balancing mode cannot carry out grayscale pilot around the business level, and there are limitations in customizing grayscale and compatibility with new interface modification requirements. Summary of the invention

[0006] The purpose of the present invention is to provide a processing system and method for transferring mainframe transactions to a distributed platform, so as to solve the grayscale problem in the process of migrating the core mainframe transaction system of a commercial bank to a distributed platform.

[0007] To achieve the above-mentioned purpose, the present invention provides a processing system for transferring mainframe transactions to distributed platforms, the system comprising a grayscale device, a mainframe transaction device and a distributed platform service device; the grayscale device comprises a proxy forwarding component and a grayscale chain slot; the proxy forwarding component is used to proxy the transaction interface of the mainframe transaction device, and forward the transaction request to the mainframe transaction device or the grayscale chain slot according to the matching result of the received transaction request and the preset grayscale rule; the grayscale chain slot is used to assemble and arrange the predetermined slot slot group and the user-defined slot slot into a slot chain, and generate a grayscale rule configuration through the slot chain according to the received transaction request, and use the grayscale rule configuration to gray-route the transaction request to the mainframe transaction device or the distributed platform service device; the mainframe transaction device and the distributed platform service device are used to process the received transaction request.

[0008] In the above-mentioned processing system for transferring large-scale transactions to distributed platforms, preferably, the grayscale chain slot includes a slot processing module, and the slot processing module is used to perform slot chain operation processing according to preset grayscale rules based on the corresponding slots in the slot chain.

[0009] In the above-mentioned processing system for transferring large-scale transactions to distributed platforms, preferably, the grayscale chain slot includes a slot management module, and the slot management module is used to construct a slot storage management pool in a key-value pair manner according to each slot slot group of the grayscale chain slot; and extract the slot interface of the common internal transaction in the slot storage management pool, and functionally divide the grayscale routing slot, custom grayscale slot and reserved slot into them and provide them to external management.

[0010] In the above-mentioned processing system of the mainframe transaction to distributed platform, preferably, the grayscale chain slot includes a slot orchestration module; the slot orchestration module is used to add the predetermined slots to the predetermined loader linked list in the form of a list, set the loading attributes for each slot and preload it; and, insert the custom grayscale slot into the specified position of the loader linked list to generate a slot chain.

[0011] In the above-mentioned processing system for transferring large-scale transactions to distributed platforms, preferably, the grayscale chain slot includes a slot dynamic data configuration module, and the slot dynamic data configuration module monitors the grayscale configuration data provided externally in real time, and updates the grayscale rule configuration according to the grayscale configuration data.

[0012] In the above-mentioned processing system of mainframe transactions to distributed platform, preferably, the grayscale chain slot includes a proxy forwarding module, and the proxy forwarding module is used to parse the original byte file of the interface of the mainframe transaction device, and convert the interface mapping of the mainframe transaction device into a corresponding json message interface according to the original byte file, and forward the transaction request to the mainframe transaction device through the json message interface.

[0013] The present invention also provides a method for processing mainframe transactions to distributed platforms, the method comprising: utilizing grayscale chain slots to assemble and arrange predetermined slot slot groups and user-defined slot slots into slot chains; utilizing an agent forwarding component to proxy the transaction interface of a mainframe transaction device; upon receiving a transaction request for the mainframe transaction device, forwarding the transaction request to the mainframe transaction device or the grayscale chain slot according to a matching result between the received transaction request and a preset grayscale rule; the grayscale chain slot generates a grayscale rule configuration through a slot chain, and utilizes the grayscale rule configuration to grayscale route the received transaction request to the mainframe transaction device or a distributed platform service device for corresponding processing.

[0014] In the above-mentioned processing method for transferring large-scale transactions to distributed platforms, preferably, using grayscale chain slots to assemble and arrange predetermined slot slot groups and user-defined slot slots into slot chains also includes: constructing a slot storage management pool in the form of key-value pairs according to each slot slot group of the grayscale chain slot; extracting the slot interface of the common internal transaction in the slot storage management pool, and functionally dividing the grayscale routing slots, custom grayscale slots and predetermined slots and providing them to external management.

[0015] In the above-mentioned processing method of converting mainframe transactions to distributed platforms, preferably, assembling and arranging the predetermined slot slot group and the user-defined slot slot into the slot chain includes: adding the predetermined slots to the predetermined loader linked list in the form of a list, setting loading attributes for each slot and preloading; inserting the custom grayscale slot into the specified position of the loader linked list to generate a slot chain.

[0016] In the above-mentioned processing method of transferring mainframe transactions to distributed platforms, preferably, the grayscale rule configuration is used to grayscale route the received transaction request to the mainframe transaction device or distributed platform service device for corresponding processing, including: parsing the original byte file of the interface of the mainframe transaction device, and converting the interface mapping of the mainframe transaction device into a corresponding json message interface according to the original byte file; forwarding the transaction request to the mainframe transaction device through the json message interface.

[0017] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.

[0018] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above method.

[0019] The beneficial technical effect of the present invention is: in view of the limitations of the internal interface grayscale mode and the load balancing mode, the solution is integrated and a slot chain slot grayscale device is designed. On the one hand, the device sets the proxy component to convert the host interface to shield the complexity of the mainframe transaction; on the other hand, the slot development mode of Vue is used to integrate the transaction grayscale into the slot chain slot to solve the different grayscale migration strategies of different mainframe transactions, and support each mainframe transaction to selectively insert grayscale logic according to its own business characteristics when migrating to the platform service. The entire technical device is ready to use, shields the mainframe, and can be customized and extended. The caller does not need to make any code changes on the original mainframe transaction, and the grayscale migration of the mainframe transaction can be safely and quickly transferred to the distributed platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute a limitation of the present invention. In the drawings:

[0021] Figure 1A and Figure 1B It is a schematic diagram of the grayscale process of converting mainframe transactions to distributed platforms in the prior art;

[0022] Figure 2A A schematic diagram of the structure of a processing system for transferring mainframe transactions to a distributed platform provided in one embodiment of the present invention;

[0023] Figure 2B A schematic diagram of the principle flow of transferring a mainframe transaction to a distributed platform provided by an embodiment of the present invention;

[0024] Figure 3 A schematic diagram of the application structure of a processing system for transferring mainframe transactions to a distributed platform provided in one embodiment of the present invention;

[0025] Figure 4 A schematic diagram of the structure of a grayscale chain slot provided by an embodiment of the present invention;

[0026] Figure 5A A schematic diagram of the application process of the grayscale chain slot provided by an embodiment of the present invention;

[0027] Figure 5B A schematic diagram of the arrangement of chain slots provided by an embodiment of the present invention;

[0028] Figure 6 A schematic diagram of the structure of a proxy conversion component provided by an embodiment of the present invention;

[0029] Figure 7 A flowchart of a method for processing a mainframe transaction to a distributed platform provided by an embodiment of the present invention;

[0030] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following will describe the implementation methods of the present invention in detail with reference to the accompanying drawings and embodiments, so that the implementation process of how the present invention applies technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly. It should be noted that as long as there is no conflict, the various embodiments of the present invention and the various features in the embodiments can be combined with each other, and the technical solutions formed are all within the protection scope of the present invention.

[0032] In addition, the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be performed in an order different from that shown here.

[0033] The mainframe transactions described in the following embodiments refer to the mainframe transactions of traditional banks and other institutions. Specifically, the core transaction systems of traditional commercial banks are currently centrally deployed on IBM mainframes and minicomputers, which are called mainframe transactions of traditional banks. The overall business operation of mainframe transactions is closed and stable, but the scalability is poor, the maintenance cost is high, and it is not flexible; currently most banks basically operate under the IT architecture of dual-active mode (centralized + distributed), that is, the traditional + digital banking mode.

[0034] Grayscale chain slot refers to the slot mode developed by the front-end Vue, which inserts the content carried by the front-end into the specified position, so that the template is divided into blocks, with modular characteristics and greater reusability. Vue slot can use tag fields such as name / type to configure how to distribute slots. Drawing on the vue slot management technology, based on the slot model, in the distributed platform process under the big machine transaction, the grayscale logic code components can be inserted into the specified position of the transaction link by type and order, and the transaction can be grayscale run according to the chain.

[0035] Please refer to Figure 2AAs shown, the processing system for transferring mainframe transactions to distributed platforms provided by the present invention includes a grayscale device, a mainframe transaction device and a distributed platform service device; the grayscale device includes a proxy forwarding component and a grayscale chain slot; the proxy forwarding component is used to proxy the transaction interface of the mainframe transaction device, and forward the transaction request to the mainframe transaction device or the grayscale chain slot according to the matching result of the received transaction request and the preset grayscale rule; the grayscale chain slot is used to assemble and arrange the predetermined slot slot group and the user-defined slot slot into the slot chain, and generate a grayscale rule configuration through the slot chain according to the received transaction request, and use the grayscale rule configuration to gray-route the transaction request to the mainframe transaction device or the distributed platform service device; the mainframe transaction device and the distributed platform service device are used to process the received transaction request. The principle can be referred to. Figure 2B As shown, the present invention uses both the proxy forwarding component and the grayscale chain slot to trigger the device according to the received transaction request and the remote preset grayscale routing configuration, and the internal and external combinations determine the grayscale conditions, enable the proxy forwarding transaction request, and the grayscale device determines the routing host or distributed service. The core process mainly includes the following steps:

[0036] Step 1): S101 system device starts and loads local configuration;

[0037] Step 2): S102 acts as an agent for traditional mainframe transactions, forming an agent layer and shielding the host inventory interface;

[0038] Step 3): S103 preheats the slot chain slot device, assembles and arranges the pre-set slot slots one by one into the slot chain, and simultaneously integrates the custom-implemented slots into the slot chain slots according to the caller's requirements for execution; (may include transaction admission, grayscale logic 1 to n, grayscale transaction alarm and transaction return, etc.)

[0039] Step 4): S104, S105 dynamically loads the grayscale rule configuration according to the transaction request, triggering the grayscale transaction to be routed to the mainframe transaction or distributed platform service (platform system 1 to N under the host).

[0040] Please refer to Figure 3 and Figure 5AAs shown in the figure, in actual work, in view of the current status of commercial bank mainframe transaction architecture services, product applications convert service messages to mainframe core transactions for processing by calling the grayscale device front-end proxy forwarding component, and grayscale routing processing is performed based on the slot grayscale chain slot when the transaction is grayscale. When the device is connected to the mainframe transaction, it uses the grayscale device to smoothly, safely and dynamically transition production transactions to platform core services to solve the problems in the existing technology. The grayscale chain slot can be divided into two-dimensional slots: horizontal and vertical. On the horizontal slot, users initiate transactions through product applications and use the technical gateway API to proxy the mainframe service. The entire device inserts grayscale front, grayscale middle and grayscale post before and after the gateway, mainframe host, and distributed platform transactions to ensure the integrity of grayscale transactions. On the vertical slot, inside each horizontal slot device, the plug-in functions and customized slot slots exposed to the outside can be split vertically, and proxy forwarding, access, logging, flow control, grayscale routing, interface conversion, etc. can be performed.

[0041] Please refer to Figure 4 As shown, in one embodiment of the present invention, the grayscale chain slot includes a slot processing module, a slot management module, a slot arrangement module, a slot dynamic data configuration module and a device-provided slot tool (the device is pre-installed with a grayscale slot component).

[0042] The slot processing module is used to perform slot chain operation processing according to the preset grayscale rules according to the corresponding slot slots in the slot chain. Specifically, the slot processing module is used to process the grayscale logic according to the front, middle, and post-transaction and abnormal error modules through the slot processor after the product transaction is called. The entire grayscale transaction is processed in a chain, and each processing link can be a slot. Subsequent transactions are operated in a slot chain according to the established rules.

[0043] The slot management module is used to construct a slot storage management pool in the form of key-value pairs according to each slot slot group of the grayscale chain slot; and, extract the slot interface of the public internal transaction in the slot storage management pool, and separate the grayscale routing slot, custom grayscale slot and predetermined slot according to functional division and provide them to external management. Specifically, because the device has many slots, a manager is required in the design process of the entire processing chain to reasonably manage the operation of the chain grayscale device, as shown in the figure below. The device currently sets the slot storage management pool in the form of a map key-value pair. The slot interface of the public internal transaction is extracted, and the grayscale routing slot, custom grayscale slot and other pre-installed slot processing are separated according to functional division. For the slots in the storage management pool, methods such as addition, deletion, replacement and query are provided, and the entire slot can be managed directly.

[0044] The grayscale chain slot includes a slot arrangement module; the slot arrangement module is used to add the predetermined slots to the predetermined loader chain list in the form of a list, set the loading attribute for each slot and preload it; and insert the custom grayscale slot into the specified position of the loader chain list to generate a slot chain. Figure 5A and Figure 5B As shown, one part of the entire slot chain slot scheduler is to add the built-in slots to the default loader chain list in the form of a list. Each slot will set the order, type, whether to enable and other attributes to preload the slot. The preloading code is as follows. Another part allows users to bring custom grayscale slots and insert them into the specified position. The slot modules are divided into blocks to the chain slots, each with its own responsibilities, to build the execution chain arrangement order, and execute grayscale; execute transactions in the order of front->middle->post. After the execution fails, error handling is performed according to front->middle->error->post or front-middle-post-error.

[0045] The grayscale chain slot includes a slot dynamic data configuration module, which monitors the grayscale configuration data provided by the outside in real time and updates the grayscale rule configuration according to the grayscale configuration data. Specifically, the slot dynamic data configuration module implements an event-driven interface program, dynamically adjusts the grayscale strategy, listens to the modified grayscale configuration in actual work, and hot-loads the grayscale configuration in real time to switch the flow; the grayscale chain slot retains the dynamic flow switching listening interface, and the grayscale strategy can be customized externally.

[0046] The proxy forwarding module is used to parse the original byte file of the interface of the mainframe trading device, convert the interface mapping of the mainframe trading device into a corresponding json message interface according to the original byte file, and forward the transaction request to the mainframe trading device through the json message interface. Figure 6 As shown in the figure, the proxy forwarding module is a tool for converting the host interface encapsulation. Its main function is to parse the original byte file of the host interface and convert the mapping of the host interface into a concise and clear JSON message.

[0047] Please refer to Figure 7 As shown, the present invention also provides a method for processing large-scale machine transactions to distributed platforms, the method comprising:

[0048] S701 utilizes grayscale chain slots to assemble and arrange predetermined slot slot groups and user-defined slot slots into slot chains;

[0049] S702 uses a proxy forwarding component to act as a proxy for the transaction interface of the mainframe transaction device;

[0050] S703: when receiving a transaction request for the mainframe transaction device, forwarding the transaction request to the mainframe transaction device or the grayscale chain slot according to a matching result between the received transaction request and a preset grayscale rule;

[0051] S704 The grayscale chain slot generates a grayscale rule configuration through a slot chain, and uses the grayscale rule configuration to grayscale route the received transaction request to the mainframe transaction device or distributed platform service device for corresponding processing.

[0052] In the above embodiment, assembling and arranging the predetermined slot slot group and the user-defined slot slot into the slot chain using the grayscale chain slot also includes: constructing a slot storage management pool in the form of key-value pairs according to each slot slot group of the grayscale chain slot; extracting the slot interface of the common internal transaction in the slot storage management pool, and functionally dividing the grayscale routing slot, the custom grayscale slot and the predetermined slot and providing them to external management. Therefore, assembling and arranging the predetermined slot slot group and the user-defined slot slot into the slot chain may include: adding the predetermined slots to the predetermined loader chain list in the form of a list, setting the loading attributes for each slot and preloading; inserting the custom grayscale slot into the specified position of the loader chain list to generate a slot chain.

[0053] In one embodiment of the present invention, the grayscale rule configuration is used to grayscale route the received transaction request to the mainframe transaction device or the distributed platform service device for corresponding processing, including: parsing the original byte file of the interface of the mainframe transaction device, and converting the interface mapping of the mainframe transaction device into a corresponding json message interface according to the original byte file; forwarding the transaction request to the mainframe transaction device through the json message interface.

[0054] In actual work, the above step S703 may include four parts: grayscale pre-position, grayscale mid-position, grayscale post-position and grayscale error. For details, please refer to the grayscale rule table shown in Table 1 below:

[0055] Grayscale pre-processing slot collection: logging slot, responsible for Grayscale transaction entry log recording; Grayscale access permission slot, responsible for opening whitelists for some transactions and access to Grayscale application transactions; interface format conversion slot, responsible for converting between formats such as xml and json used by different product applications; transaction statistics slot, responsible for data statistics of Grayscale transactions; encryption and decryption control slot, responsible for encryption and decryption of transaction messages used by different product applications to ensure security.

[0056] Grayscale intermediate processing slot set: general grayscale preheating calculation slot, responsible for preloading different grayscale rules; generalized RPC call slot, responsible for unified processing of distributed calls; custom call slot, responsible for grayscale intermediate processing custom plug-ins; grayscale routing slot, responsible for grayscale routing forwarding processing;

[0057] Grayscale post-processing slot set: message conversion slot, responsible for format conversion of returned messages;

[0058] Grayscale error processing slot collection: error backup slot, responsible for the backup of error information after an exception; monitoring reporting slot, responsible for monitoring and sending exceptions or partial transactions; Grayscale central processing slot In addition to the basic dynamic configuration and custom slots, the system comes with many Grayscale rules that can be used directly. Such rules ensure the overall completeness of the conversion of large-scale transactions to distributed ones.

[0059] Table 1

[0060]

[0061]

[0062] The beneficial technical effect of the present invention is that: the processing system and method for transferring mainframe transactions to distributed platforms provided by the present invention integrate the defects of load balancing mode and internal grayscale logic mode, use dynamic configuration, set the proxy mainframe transaction mode, abstract the entire grayscale and business logic into a pipeline chain pipeline, based on the slot principle, encapsulate multiple slots, and externally customize slot interfaces to provide rich mainframe transaction grayscale logic and expansion capabilities; specifically including: shielding the obsolete logic of mainframe transactions in an agent-based manner; encapsulating grayscale chain devices that are ready to use, and providing standardized solutions from grayscale access, message interface conversion, grayscale routing, error standard processing and other steps; the horizontal and vertical slot slots are ready to use in an out-of-the-box manner, which can quickly and standardly migrate mainframe transactions to distributed platforms; opening dynamic modification and custom slot interfaces on the entire slot chain to ensure the openness and flexibility of the device.

[0063] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.

[0064] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above method.

[0065] like Figure 8As shown, the electronic device 600 may further include: a communication module 110, an input unit 120, an audio processing unit 130, a display 160, and a power supply 170. It is worth noting that the electronic device 600 does not necessarily have to include Figure 8 In addition, the electronic device 600 may also include Figure 8 For components not shown, reference may be made to the prior art.

[0066] like Figure 8 As shown, the central processor 100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor devices and / or logic devices. The central processor 100 receives inputs and controls the operations of various components of the electronic device 600.

[0067] The memory 140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 100 may execute the program stored in the memory 140 to implement information storage or processing.

[0068] The input unit 120 provides input to the CPU 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display display objects such as images and text. The display may be, for example, an LCD display, but is not limited thereto.

[0069] The memory 140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 140 may also be some other type of device. The memory 140 includes a buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application / function storage unit 142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 600 through the central processor 100.

[0070] The memory 140 may also include a data storage unit 143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 144 of the memory 140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0071] The communication module 110 is a transmitter / receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter / receiver) 110 is coupled to the central processor 100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.

[0072] Based on different communication technologies, multiple communication modules 110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module. The communication module (transmitter / receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide an audio output via the speaker 131 and receive an audio input from the microphone 132, thereby realizing a common telecommunication function. The audio processor 130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 130 is also coupled to the central processor 100, so that the sound can be recorded on the local machine through the microphone 132, and the sound stored on the local machine can be played through the speaker 131.

[0073] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0074] The present invention is described with reference to the flowchart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0075] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0076] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0077] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A processing system for transferring large-scale transactions to distributed platforms, characterized in that: The system includes a grayscale device, a large-scale trading device, and a distributed platform service device; The grayscale device includes a proxy forwarding component and a grayscale chain slot; The proxy forwarding component is used to act as a proxy for the transaction interface of the mainframe transaction device, and forward the transaction request to the mainframe transaction device or the Grayscale chain slot based on the matching result between the received transaction request and the preset Grayscale rules; The Grayscale chain slot is used to organize predetermined slot slot groups and user-defined slot slots into a slot chain, and generate a Grayscale rule configuration through the slot chain based on a received transaction request, and use the Grayscale rule configuration to Grayscale route the transaction request to the mainframe transaction device or distributed platform service device; The mainframe transaction device and the distributed platform service device are used to process the received transaction request; The Grayscale chain slot includes a slot management module, which is used to construct a slot storage management pool based on each slot group of the Grayscale chain slot in a key-value pair format; and extract the common internal transaction slot interface in the slot storage management pool, and functionally separate it into Grayscale routing slots, custom Grayscale slots, and reserved slots, and then provide them to external management; The grayscale chain slot includes a slot arrangement module; The slot arrangement module is used to add the predetermined slots to the predetermined loader chain in the form of a list, set the loading attributes for each slot and preload it; and insert the custom grayscale slot into the specified position of the loader chain to generate a slot chain.

2. The processing system for transferring large-scale transactions to distributed platforms according to claim 1 is characterized in that: The grayscale chain slot includes a slot processing module, which is used to perform slot chain operation processing according to preset grayscale rules based on the corresponding slots in the slot chain.

3. The processing system for transferring large-scale transactions to distributed platforms according to claim 1 is characterized in that: The grayscale chain slot includes a slot dynamic data configuration module, which monitors grayscale configuration data provided externally in real time and updates the grayscale rule configuration according to the grayscale configuration data.

4. The processing system for transferring large-scale transactions to distributed platforms according to claim 1 is characterized in that: The Grayscale chain slot includes a proxy forwarding module, which is used to parse the original byte file of the interface of the mainframe trading device, convert the interface mapping of the mainframe trading device into a corresponding json message interface according to the original byte file, and forward the transaction request to the mainframe trading device through the json message interface.

5. A method for transferring large-scale transactions to a distributed platform, characterized in that: The method comprises: Use Grayscale Chain Slots to assemble predetermined slot groups and user-defined slots into slot chains; The transaction interface of the mainframe transaction device is proxied by the proxy forwarding component; When receiving a transaction request from the mainframe transaction device, forwarding the transaction request to the mainframe transaction device or the Grayscale chain slot according to a matching result between the received transaction request and a preset Grayscale rule; The Grayscale chain slot generates a Grayscale rule configuration through a slot chain, and uses the Grayscale rule configuration to Grayscale route the received transaction request to the mainframe transaction device or distributed platform service device for corresponding processing; Utilizing Grayscale Chain Slots to assemble predetermined slot groups and user-defined slots into a slot chain also includes: Construct a slot storage management pool in the form of key-value pairs based on each slot group of the grayscale chain slot; Extract the public internal transaction slot interface from the slot storage management pool, separate it into Grayscale routing slots, custom Grayscale slots, and reserved slots based on functionality, and then provide them to external management; Arranging predetermined slot groups and user-defined slot groups into slot chains includes: Add the scheduled slots to the scheduled loader list in the form of a list, set the loading attribute for each slot and preload; Insert the custom grayscale slot into the specified position of the loader chain list to generate a slot chain.

6. The method for transferring large-scale transactions to distributed platforms according to claim 5 is characterized in that: Using the grayscale rule configuration to grayscale route the received transaction request to the mainframe transaction device or the distributed platform service device for corresponding processing includes: Parsing the original byte file of the interface of the mainframe transaction device, and converting the interface mapping of the mainframe transaction device into a corresponding JSON message interface according to the original byte file; The transaction request is forwarded to the mainframe transaction device via the json message interface.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method according to claim 5 or 6 is implemented.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program for executing the method according to claim 5 or 6.