CN112051987B - Service data processing method, device and equipment, program generating method and device - Google Patents

Service data processing method, device and equipment, program generating method and device Download PDF

Info

Publication number
CN112051987B
CN112051987B CN202010914908.9A CN202010914908A CN112051987B CN 112051987 B CN112051987 B CN 112051987B CN 202010914908 A CN202010914908 A CN 202010914908A CN 112051987 B CN112051987 B CN 112051987B
Authority
CN
China
Prior art keywords
program
service
data processing
processing
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010914908.9A
Other languages
Chinese (zh)
Other versions
CN112051987A (en
Inventor
宗涛
王和燕
李永存
张康洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010914908.9A priority Critical patent/CN112051987B/en
Publication of CN112051987A publication Critical patent/CN112051987A/en
Application granted granted Critical
Publication of CN112051987B publication Critical patent/CN112051987B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present specification relates to a service data processing method, apparatus and device, and a program generating method and apparatus, the method including receiving a service data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a pre-constructed COBOL program framework for realizing the processing of the specified business data. And calling the program framework template corresponding to the program framework template identification, and generating a service processing program framework corresponding to the service data processing request based on the called program framework template. And configuring parameters in the service processing program framework by utilizing the data processing configuration information to obtain a service processing program so as to execute service data processing by utilizing the service processing program. Thereby improving the construction efficiency of the service processing program, reducing the error rate of the service processing, and further improving the service processing efficiency.

Description

Service data processing method, device and equipment, program generating method and device
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a program generating method and apparatus for processing service data.
Background
COBOL is a relatively widely used high-level programming language, which pays attention to the input/output record processing of data items, provides a simple processing mode for files with a large amount of data, and has wide application in the fields of data management and processing such as financial accounting work, statistical report forms, planning, information retrieval, personnel management and the like. At present, 70% of data is processed in COBOL language, and COBOL transactions processed online per day have 300 million times, and are growing at a rate of 50 million lines of code per year, so it is important to reasonably configure COBOL program-based business processes.
However, COBOL language is complicated, and errors or omission easily occur in the construction process of the service processing program, so that the accuracy of the service processing result is affected. At present, the common processing program segment is written, the common processing program segment is used as a subprogram, a main program is written in a process part, and then the common processing program segment is called by the subprogram, so that the realization of service processing is completed. But common handler segments can only implement specific functional parts. Meanwhile, after the service processing program is constructed, the common processing program section is used as a part of the service processing program and is maintained together with the service processing program. In the later use process, if any modification of the service processing program is involved, the common processing program section needs to carry out communication test along with the whole service processing program. And the coding habits of developers are different, so that the overall coding styles of a large number of business processing programs are different, and certain interpretation work is increased when maintenance is performed in the later period, thereby further causing the complexity of program maintenance. Therefore, there is a need for a more convenient and efficient business process generation and data processing method.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a method, an apparatus, a device, and a program generating method and an apparatus for processing service data, which can improve efficiency of service processing program construction, reduce error rate, and further improve efficiency of service data processing. Meanwhile, the convenience of service processing program maintenance can be improved.
The present specification provides a service data processing method, apparatus and device, and a program generating method and apparatus, which are implemented in the following manner:
a business data processing method applied to a server, the method comprising: receiving a service data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified business data. And calling the program framework template corresponding to the program framework template identification, and generating a service processing program framework corresponding to the service data processing request based on the called program framework template. And configuring parameters in the service processing program framework by utilizing the data processing configuration information to obtain a service processing program corresponding to the service data processing request, so as to execute the service data processing corresponding to the service data processing request by utilizing the service processing program.
In other embodiments of the method provided herein, the data processing configuration information includes at least operating environment information, configuration information of input/output files/tables, and data processing rules.
In other embodiments of the method provided in the present specification, the configuring parameters in the service processing program framework by using the data processing configuration information includes: based on the data processing configuration information, generating environment parameter configuration information, input and output file configuration information and data processing rule configuration information in a service processing program framework to obtain a service processing program corresponding to the service data processing request.
In other embodiments of the methods provided herein, the data processing configuration information further includes exception handling configuration information; correspondingly, the configuring the parameters in the service processing program framework by using the data processing configuration information comprises the following steps: and generating an exception handler section in the business handler framework based on the exception handling configuration information.
On the other hand, the embodiment of the present specification further provides a service data processing apparatus, which is applied to a server, and the apparatus includes: the first request receiving module is used for receiving a business data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified business data. And the first template calling module is used for calling the program framework template corresponding to the program framework template identifier and generating a service processing program framework corresponding to the service data processing request based on the called program framework template. And the first program generating module is used for configuring parameters in the service processing program framework by utilizing the data processing configuration information to obtain a service processing program corresponding to the service data processing request, so as to execute the service data processing corresponding to the service data processing request by utilizing the service processing program.
In other embodiments of the apparatus provided herein, the data processing configuration information includes at least operating environment information, configuration information of input/output files/tables, and data processing rules.
In other embodiments of the apparatus provided in this specification, the program generating module is further configured to generate, in a service processing program framework, environmental parameter configuration information, input/output file configuration information, and data processing rule configuration information based on the data processing configuration information, to obtain a service processing program corresponding to the service data processing request.
In another aspect, embodiments of the present disclosure further provide a service data processing device, applied to a server, where the device includes at least one processor and a memory for storing instructions executable by the processor, where the instructions when executed by the processor implement steps including the method described in any one or more of the embodiments above.
On the other hand, the embodiment of the specification also provides a service processing program generating method, which is applied to a server, and comprises the following steps: receiving a service processing program generation request; the service processing program generation request comprises configuration information corresponding to the target service processing program and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified business data. And calling the program framework template corresponding to the program framework template identification, and generating a service processing program framework corresponding to the service data processing request based on the called program framework template. And configuring parameters in the service processing program framework by utilizing the configuration information to obtain a target service processing program.
On the other hand, the embodiment of the specification also provides a service processing program generating device, which is applied to a server, and the device comprises: the second request receiving module is used for receiving a service processing program generation request; the service processing program generation request comprises configuration information corresponding to the target service processing program and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified business data. And the second template calling module is used for calling the program framework template corresponding to the program framework template identifier and generating a service processing program framework corresponding to the service data processing request based on the called program framework template. And the second program generating module is used for configuring parameters in the service processing program framework by utilizing the configuration information to obtain a target service processing program.
According to the business data processing method, the business data processing device, the business data processing equipment, the business data processing program generating method and the business data processing device, the business processing program is built based on the templated business processing program framework, and therefore the construction efficiency of the business processing program can be greatly improved. Meanwhile, the error rate of the constructed service processing program can be effectively reduced, and the service processing efficiency is further improved. Meanwhile, only the pre-constructed information such as the business processing program frame and the configuration document can be maintained later, so that the maintenance simplicity of the business processing program is greatly improved, and the maintenance workload of the business processing program is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some of the embodiments described in the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
fig. 1 is a schematic flow chart of an embodiment of a service data processing method provided in the present specification;
fig. 2 is a schematic flow chart of an embodiment of a method for generating a service processing program provided in the present specification;
FIG. 3 is a schematic block diagram of a service data processing device according to the present disclosure;
fig. 4 is a schematic block diagram of a service processing procedure generating device provided in the present specification.
Detailed Description
In order that those skilled in the art will better understand the technical solutions in this specification, a clear and complete description of the technical solutions in one or more embodiments of this specification will be provided below with reference to the accompanying drawings in one or more embodiments of this specification, and it is apparent that the described embodiments are only some embodiments of the specification and not all embodiments. All other embodiments, which may be made by one or more embodiments of the disclosure without undue effort by one of ordinary skill in the art, are intended to be within the scope of the embodiments of the disclosure.
In an application scenario example of the present disclosure, the data processing method may be applied to a server that performs service data processing based on COBOL (Common-Oriented Language, business-oriented general language) in a service system. Business processes written in COBOL language generally include an identification portion, an environment portion, a data portion, and a process portion. The identification part is used for setting identification for the business processing program so as to be convenient for identification. The environment part is mainly used for defining the software and hardware environment of the operation of the service processing program. Such as defining the operating environment of the business process program, the compilation environment, etc. If the business data processed by the business processing program relates to the input/output file, the storage position of the input/output file, file control information and the like can also be defined. The file control information may include, for example, a read-write manner recorded in the file. The data section is used for defining the data type, the storage length, the relation between the file and the record and the like which are involved in the execution of the business data processing by the business processing program. The process section is used for defining an execution statement of the program.
When a service processing program is constructed, it is generally necessary to configure a data structure of each processing unit, and then configure specific parameters based on the configured data structure, so as to construct the service processing program. COBOL language is complicated, and errors or omission easily occur in the construction process of the service processing program, so that the accuracy of the service processing result is affected. At present, the common processing program segment is written, the common processing program segment is used as a subprogram, a main program is written in a process part, and then the common processing program segment is called by the subprogram, so that the realization of service processing is completed.
But common handler segments can only implement specific functional parts. Meanwhile, after the service processing program is constructed, the common processing program section is used as a part of the service processing program and is maintained together with the service processing program. In the later use process, if any modification of the service processing program is involved, the common processing program section needs to carry out communication test along with the whole service processing program. And the coding habits of developers are different, so that the overall coding styles of a large number of business processing programs are different, and certain interpretation work is increased when maintenance is performed in the later period, thereby further causing the complexity of program maintenance.
Accordingly, in the embodiment of the present disclosure, a portion common to a service processing program may be extracted by analyzing a large number of service processing programs in advance, and a data structure of the portion may be defined to initially construct a portion program framework of the service processing program. And taking the constructed program framework as a program framework template.
For example, for business processes commonly used by financial institutions that update data tables of databases based on transaction record files, the file structure, file interface, transaction record reading mode, data table structure, data table interface, update logic in data update to data table, etc. may be involved, but the program frameworks adopted are the same, i.e. one input (file) and one output (table). A single input single output data structure may be defined based thereon to construct a single input single output program framework. The construction of the business process program can be completed based on the program framework template. Of course, other program frame templates may be involved in the construction of the service processing program, and multiple program frame templates may be associated to form a program frame of the service processing program, so as to complete the construction of the service processing program.
Accordingly, when processing such service data, information such as a file structure, a file storage position, a transaction record reading mode, a data table structure, a data table storage position, update logic of data update to the data table and the like corresponding to the current service data processing can be configured based on the actual scene of the service data processing, and the information is used as data processing configuration information corresponding to the current service data processing. For example, a configuration document of a file may be built for configuration information of the file, a configuration document of a table may be built for configuration information of a data table, and a corresponding processing rule configuration document may be built for business processing logic, respectively.
The employed program framework template identification, the interface of the configuration document, and the like can then be associated in a business data processing request and sent to a server. The server may invoke a program framework template corresponding to the program framework template identification, such as a program framework of a loop-read file update table, based on the request. And generating a program framework of the business process program based on the program framework template. And then, the server can generate running environment parameter configuration information, configuration information of an input file output table and configuration information of file reading and updating of the table in a program framework by reading configuration files corresponding to the interfaces, so that a complete service processing program is formed. Then, the service processing program can be utilized to process the service data aimed at by the current service data processing request, and the service data processing of updating the database data table based on the transaction record file is completed. If the service processing program can read the assignment data corresponding to the current service data processing input by the user, the current service data processing is executed.
The construction of the service processing program is carried out based on the templated service processing program framework, so that the construction efficiency of the service processing program can be greatly improved. Meanwhile, the error rate of the constructed service processing program can be effectively reduced, and the service processing efficiency is further improved. Meanwhile, only the pre-constructed information such as the business processing program frame and the configuration file can be maintained later, so that the maintenance simplicity of the business processing program is greatly improved, the maintenance workload of the business processing program is greatly reduced, and the labor cost is reduced.
Fig. 1 is a schematic flow chart of an embodiment of the data processing method provided in the present specification. Although the description provides methods and apparatus structures as shown in the examples or figures described below, more or fewer steps or modular units may be included in the methods or apparatus, whether conventionally or without inventive effort. In the steps or the structures where there is no necessary causal relationship logically, the execution order of the steps or the module structure of the apparatus is not limited to the execution order or the module structure shown in the embodiments or the drawings of the present specification. The described methods or module structures may be implemented in a device, server or end product in practice, in a sequential or parallel fashion (e.g., parallel processor or multi-threaded processing environments, or even distributed processing, server cluster implementations) as shown in the embodiments or figures. In a specific embodiment, as shown in fig. 1, in one embodiment of the data processing method provided in the present disclosure, the method may be applied to a first service system and a second service system, where backup service data of the first service system may be stored in the second service system. The method may comprise the steps of:
s20: receiving a service data processing request; the service data processing request comprises data processing configuration information corresponding to service data processing and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified business data.
The server may receive a traffic data processing request. The business data processing request may include data processing configuration information and a program framework template identification.
The data processing configuration information may be parameter attribute values of each processing part in the service processing program. The data processing configuration information may include at least information such as operation environment information, structure information of input/output files/tables, and data processing rules. The running environment information may include, for example, parameter information such as a running computer, an editing computer, etc. of the service processing program. The structure information of the input/output file/table may include, for example, a file storage location, a file data structure, a storage location of a data table, a data table data structure, and the like. Such as processing logic that may be data records. Such as the manner in which the file is read, the update logic of the data table, etc.
The program framework template identification may be used to identify pre-built program framework templates. The program framework template may be identified using a program framework template identification. The program framework template identification can be a character string or text description information, so that a user can accurately position the program framework template adopted by the current business processing.
The program framework template may be a COBOL program framework pre-built for implementing specified business data processing. The common part in the service processing program, such as single input single output, multiple input multiple output, and the like, can be extracted by analyzing a large number of service processing programs in advance. The data structure of each processing part can be defined for the extracted corresponding part, and the corresponding program framework is obtained. The constructed program framework may be used as a program framework template. For example, a single-input single-output program framework template, a multiple-input multiple-output program framework template, etc. is obtained.
The program framework templates to which it relates may be determined based on the processing logic of the current business data processing. Program framework templates corresponding to different types of business data processing can be configured empirically by relevant business personnel. The association relation sets of the program frame templates corresponding to different types of business data processing can be configured in advance, and then the corresponding program frame templates can be determined based on the association relation sets. The identification information of the program framework template may then be associated in the business data processing request.
S22: and calling the program framework template corresponding to the program framework template identification, and generating a service processing program framework corresponding to the service data processing request based on the called program framework template.
The server may invoke a corresponding program framework template based on the program framework template identifier, and generate a service processing program framework corresponding to the service data processing request based on the invoked program framework template. If the business process involves only one program framework template, the program framework template may be used as the program framework for the business process. If the business process involves multiple program framework templates, association logic between the templates may also be associated in the business data processing request. The server can perform association processing on each program framework template based on the association logic to obtain a program framework of the service processing program.
S24: and configuring parameters in the service processing program framework by utilizing the data processing configuration information to obtain a service processing program corresponding to the service data processing request, so as to execute the service data processing corresponding to the service data processing request by utilizing the service processing program.
The server may configure parameters in the business process framework with the data processing configuration information. In some embodiments, based on the data processing configuration information, environment parameter configuration information, input/output file configuration information and data processing rule configuration information may be generated in a service processing program framework, so as to obtain a service processing program corresponding to the service data processing request. Of course, if the data processing configuration information further includes other configuration information, the configuration of the parameter values of the corresponding processing units may also be performed based on the corresponding configuration information, which is not limited herein.
For example, the service processing program can be constructed by reading a configuration document of the running environment, a configuration document containing the structural information of a file or a table, a configuration document containing processing logic, and the like, and generating configuration information of running environment parameters, configuration information of an input file output table/file, and configuration information of file data record reading/table data record updating in a program framework.
In some embodiments, the interface format of each configuration document may be determined, and a corresponding information configuration mode may be designed. Different types of configuration documents have certain difference in the way of configuring parameter values in the service processing program framework, and the information in the configuration documents is configured into the service processing program framework based on the corresponding information configuration modes by predefining the information configuration modes corresponding to the configuration documents, so that the information configuration efficiency can be further improved.
The business data processing can then be performed using the business process program. For the business data processing for updating the database table data based on the transaction record file, the server can read the assignment data input by the user for the current business data processing, execute the batch operation of reading the data records in the transaction record file and update the data records in the data table in the database.
In other embodiments, the data processing configuration information may further include exception handling configuration information. The exception handling configuration information is a handling mode adopted when an error occurs in the process of executing the program by the pointer. Such as output program error information, error type corresponding to error code, etc. The user can configure the corresponding exception handling configuration information according to the needs, so that the constructed program performs exception handling on the basis of the configuration information, and the flexibility of program construction is further improved. Accordingly, the configuring the parameters in the service processing program framework by using the data processing configuration information may include: and generating an exception handler section in the business handler framework based on the exception handling configuration information.
By the mode, the construction efficiency of the service processing program corresponding to the service processing can be greatly improved. Meanwhile, the service processing program is constructed based on the templated service processing program framework, so that the error rate of the constructed service processing program can be effectively reduced, and the service processing efficiency is further improved. Meanwhile, only the pre-constructed service processing program frame, interface documents, processing logic and other information can be maintained later, so that the convenience of service processing program maintenance is greatly improved, the maintenance workload of the service processing program is greatly reduced, and the labor cost is reduced.
As shown in fig. 2, based on the solution provided in the foregoing embodiment, the present embodiment further provides a service processing program generating method, which is applied to a server. The method may include:
s202: receiving a service processing program generation request; the service processing program generation request comprises configuration information corresponding to the target service processing program and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified service data;
s204: invoking a program frame template corresponding to the program frame template identifier, and generating a service processing program frame corresponding to the service data processing request based on the invoked program frame template;
s206: and configuring parameters in the service processing program framework by utilizing the configuration information to obtain a target service processing program.
The specific implementation may be implemented with reference to the above embodiments, which are not described herein. The construction of the service processing program is carried out based on the templated service processing program framework, so that the construction efficiency of the service processing program can be greatly improved, and meanwhile, the error rate of the constructed service processing program can be effectively reduced. Meanwhile, only the pre-constructed service processing program frame, interface documents, processing logic and other information can be maintained later, so that the convenience of service processing program maintenance is greatly improved, the maintenance workload of the service processing program is greatly reduced, and the labor cost is reduced.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. Specific reference may be made to the foregoing description of related embodiments of the related process, which is not described herein in detail.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
According to the data processing method provided by one or more embodiments of the present disclosure, the service processing program is constructed based on the templated service processing program framework, so that the construction efficiency of the service processing program can be greatly improved. Meanwhile, the error rate of the constructed service processing program can be effectively reduced, and the service processing efficiency is further improved. Meanwhile, only the pre-constructed information such as the business processing program frame and the configuration document can be maintained later, so that the maintenance simplicity of the business processing program is greatly improved, and the maintenance workload of the business processing program is reduced.
Based on the above-mentioned service data processing method, one or more embodiments of the present disclosure further provide a service data processing device. The apparatus may include a system, software (application), module, component, server, etc. using the methods described in the embodiments of the present specification in combination with necessary hardware implementation. Based on the same innovative concepts, the embodiments of the present description provide means in one or more embodiments as described in the following embodiments. Because the implementation scheme and the method for solving the problem by the device are similar, the implementation of the device in the embodiment of the present disclosure may refer to the implementation of the foregoing method, and the repetition is not repeated. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated. Specifically, fig. 3 is a schematic block diagram of an embodiment of a service data processing apparatus provided in the specification, which is applied to a server, and as shown in fig. 3, the apparatus may include:
a first request receiving module 302, configured to receive a service data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified service data;
the first template retrieving module 304 may be configured to retrieve a program framework template corresponding to the program framework template identifier, and generate a service processing program framework corresponding to the service data processing request based on the retrieved program framework template;
the first program generating module 306 may be configured to configure parameters in the service processing program framework by using the data processing configuration information to obtain a service processing program corresponding to the service data processing request, so as to execute service data processing corresponding to the service data processing request by using the service processing program.
In other embodiments, the data processing configuration information may include at least operating environment information, configuration information of the input/output file/table, and data processing rules.
In other embodiments, the program generating module may be further configured to generate, in a service processing program framework, environmental parameter configuration information, input/output file configuration information, and data processing rule configuration information based on the data processing configuration information, to obtain a service processing program corresponding to the service data processing request.
Fig. 4 is a schematic block diagram of a service processing procedure generating device provided in the specification, which is applied to a server, and as shown in fig. 4, the device may include:
a second request receiving module 402, configured to receive a service processing program generation request; the service processing program generation request comprises configuration information corresponding to the target service processing program and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified service data;
a second template retrieving module 404, configured to retrieve a program framework template corresponding to the program framework template identifier, and generate a service processing program framework corresponding to the service data processing request based on the retrieved program framework template;
the second program generating module 406 may be configured to configure parameters in the service processing program framework by using the configuration information to obtain a target service processing program.
It should be noted that the above description of the apparatus according to the method embodiment may also include other implementations. Specific implementation may refer to descriptions of related method embodiments, which are not described herein in detail.
The present specification also provides a business data processing apparatus which may be used in a single business data processing system or in a variety of computer data processing systems. The system may be a stand-alone server or may include a server cluster, a system (including a distributed system), software (applications), an actual operating device, a logic gate device, a quantum computer, etc., using one or more of the methods or one or more of the embodiment devices of the present specification in combination with a terminal device that implements the necessary hardware. The apparatus may comprise at least one processor and memory for storing processor-executable instructions which, when executed by the processor, perform the steps of the method of any one or more of the embodiments described above.
The memory may include physical means for storing information, typically by digitizing the information before storing it in an electrical, magnetic or optical medium. The storage medium may include: means for storing information using electrical energy such as various memories, e.g., RAM, ROM, etc.; devices for storing information using magnetic energy such as hard disk, floppy disk, magnetic tape, magnetic core memory, bubble memory, and USB flash disk; devices for optically storing information, such as CDs or DVDs. Of course, there are other ways of readable storage medium, such as quantum memory, graphene memory, etc.
It should be noted that the description of the above system according to the method or apparatus embodiment may further include other implementations, and specific implementation may refer to the description of the related method embodiment, which is not described herein in detail.
The present description embodiments are not limited to cases that are necessarily compliant with standard data models/templates or described in the present description embodiments. Some industry standards or embodiments modified slightly based on the implementation described by the custom manner or examples can also realize the same, equivalent or similar or predictable implementation effect after modification of the above examples. Examples of data acquisition, storage, judgment, processing, etc., using these modifications or variations are still within the scope of alternative embodiments of the present description.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments. In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present specification. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the disclosure. Various modifications and alterations to this specification will become apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present description, are intended to be included within the scope of the claims of the present description.

Claims (10)

1. A method for processing service data, applied to a server, the method comprising:
receiving a service data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified service data;
invoking a program frame template corresponding to the program frame template identifier, and generating a service processing program frame corresponding to the service data processing request based on the invoked program frame template;
configuring parameters in the service processing program framework by utilizing the data processing configuration information to obtain a service processing program corresponding to the service data processing request, so as to execute service data processing corresponding to the service data processing request by utilizing the service processing program;
the method for generating the business processing program framework corresponding to the business data processing request comprises the steps of:
in case that the service processing program only involves one program frame template, the program frame template is used as the program frame of the service processing program;
in the case that the service processing program involves a plurality of program frame templates, associating logic among the associated templates in the service processing request, and performing association processing on each program frame template based on the association logic to obtain a program frame of the service processing program.
2. The method of claim 1, wherein the data processing configuration information includes at least operating environment information, input output file/table structure information, and data processing rules.
3. The method of claim 2, wherein configuring parameters in the business process framework with the data processing configuration information comprises:
based on the data processing configuration information, generating environment parameter configuration information, input and output file configuration information and data processing rule configuration information in a service processing program framework to obtain a service processing program corresponding to the service data processing request.
4. The method of claim 1, wherein the data processing configuration information further comprises exception handling configuration information; correspondingly, the configuring the parameters in the service processing program framework by using the data processing configuration information comprises the following steps:
and generating an exception handler section in the business handler framework based on the exception handling configuration information.
5. A traffic data processing apparatus for application to a server, the apparatus comprising:
the first request receiving module is used for receiving a business data processing request; the service data processing request comprises data processing configuration information and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified service data;
the first template calling module is used for calling the program framework template corresponding to the program framework template identifier and generating a service processing program framework corresponding to the service data processing request based on the called program framework template;
the first program generating module is used for configuring parameters in the service processing program framework by utilizing the data processing configuration information to obtain a service processing program corresponding to the service data processing request, so that the service processing program is used for executing service data processing corresponding to the service data processing request;
the method for generating the business processing program framework corresponding to the business data processing request comprises the steps of:
in case that the service processing program only involves one program frame template, the program frame template is used as the program frame of the service processing program;
in the case that the service processing program involves a plurality of program frame templates, associating logic among the associated templates in the service processing request, and performing association processing on each program frame template based on the association logic to obtain a program frame of the service processing program.
6. The apparatus of claim 5, wherein the data processing configuration information includes at least operating environment information, configuration information of input output files/tables, and data processing rules.
7. The apparatus of claim 6, wherein the program generating module is further configured to generate, in a service processing program framework, environmental parameter configuration information, input/output file configuration information, and data processing rule configuration information based on the data processing configuration information, to obtain a service processing program corresponding to the service data processing request.
8. A traffic data processing apparatus, characterized in that the apparatus comprises at least one processor and a memory for storing processor-executable instructions which, when executed by the processor, implement the steps comprising the method of any of the claims 1-4.
9. A service processing program generating method, characterized by being applied to a server, the method comprising:
receiving a service processing program generation request; the service processing program generation request comprises configuration information corresponding to the target service processing program and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified service data;
invoking a program frame template corresponding to the program frame template identifier, and generating a service processing program frame corresponding to the service data processing request based on the invoked program frame template;
configuring parameters in the service processing program framework by utilizing the configuration information to obtain a target service processing program;
the method for generating the business processing program framework corresponding to the business data processing request comprises the steps of:
in case that the service processing program only involves one program frame template, the program frame template is used as the program frame of the service processing program;
in the case that the service processing program involves a plurality of program frame templates, associating logic among the associated templates in the service processing request, and performing association processing on each program frame template based on the association logic to obtain a program frame of the service processing program.
10. A service processing program generating apparatus, applied to a server, comprising:
the second request receiving module is used for receiving a service processing program generation request; the service processing program generation request comprises configuration information corresponding to the target service processing program and a program framework template identifier; the program framework template identification comprises information for identifying the program framework template; the program framework template comprises a COBOL program framework which is constructed in advance and used for realizing the processing of the specified service data;
the second template calling module is used for calling the program framework template corresponding to the program framework template identifier and generating a service processing program framework corresponding to the service data processing request based on the called program framework template;
the second program generating module is used for configuring parameters in the service processing program framework by utilizing the configuration information to obtain a target service processing program;
the method for generating the business processing program framework corresponding to the business data processing request comprises the steps of:
in case that the service processing program only involves one program frame template, the program frame template is used as the program frame of the service processing program;
in the case that the service processing program involves a plurality of program frame templates, associating logic among the associated templates in the service processing request, and performing association processing on each program frame template based on the association logic to obtain a program frame of the service processing program.
CN202010914908.9A 2020-09-03 2020-09-03 Service data processing method, device and equipment, program generating method and device Active CN112051987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010914908.9A CN112051987B (en) 2020-09-03 2020-09-03 Service data processing method, device and equipment, program generating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010914908.9A CN112051987B (en) 2020-09-03 2020-09-03 Service data processing method, device and equipment, program generating method and device

Publications (2)

Publication Number Publication Date
CN112051987A CN112051987A (en) 2020-12-08
CN112051987B true CN112051987B (en) 2023-10-24

Family

ID=73607304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010914908.9A Active CN112051987B (en) 2020-09-03 2020-09-03 Service data processing method, device and equipment, program generating method and device

Country Status (1)

Country Link
CN (1) CN112051987B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614409A (en) * 2018-10-29 2019-04-12 阿里巴巴集团控股有限公司 Business data processing method, device and server
CN111045751A (en) * 2019-12-27 2020-04-21 中国银行股份有限公司 Multi-service configuration chain processing method and device
CN111158798A (en) * 2019-12-27 2020-05-15 中国银行股份有限公司 Service data processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614409A (en) * 2018-10-29 2019-04-12 阿里巴巴集团控股有限公司 Business data processing method, device and server
CN111045751A (en) * 2019-12-27 2020-04-21 中国银行股份有限公司 Multi-service configuration chain processing method and device
CN111158798A (en) * 2019-12-27 2020-05-15 中国银行股份有限公司 Service data processing method and device

Also Published As

Publication number Publication date
CN112051987A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
US20090006146A1 (en) System and Method for Modeling Slow Changing Dimension and Auto Management Using Model Driven Business Performance Management
CN104133772A (en) Automatic test data generation method
US10452628B2 (en) Data analysis schema and method of use in parallel processing of check methods
CN101996131A (en) Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word
CN111061475B (en) Software code generating method, device, computer equipment and storage medium
JP2010524060A (en) Data merging in distributed computing
US9928288B2 (en) Automatic modeling of column and pivot table layout tabular data
US20090198727A1 (en) Trace-based database schema evolution method and system
CN106991100B (en) Data import method and device
CN111126019B (en) Report generation method and device based on mode customization and electronic equipment
CN106293891B (en) Multidimensional investment index monitoring method
CN109299074B (en) Data verification method and system based on templated database view
CN106951231A (en) A kind of computer software development approach and device
CN104657274A (en) Method and device for testing software interface
CN109145055A (en) A kind of method of data synchronization and system based on Flink
CN115114146A (en) Interface test method, device, equipment and storage medium
CN113287100A (en) System and method for generating in-memory table model database
CN110889272A (en) Data processing method, device, equipment and storage medium
CN111221698A (en) Task data acquisition method and device
CN113641739A (en) Spark-based intelligent data conversion method
EP2343658A1 (en) Federation as a process
CN112051987B (en) Service data processing method, device and equipment, program generating method and device
CN112181951B (en) Heterogeneous database data migration method, device and equipment
CN111782608B (en) File automatic generation method and device, electronic equipment and storage medium
KR20150060174A (en) Method of Automatic generation of source for business process automation

Legal Events

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